/// <reference types="vite/client" />

interface ImportMetaEnv {
  readonly VITE_ENABLE_CHAIN2138?: string
  readonly VITE_RPC_URL_2138?: string
  readonly VITE_EXPLORER_URL_2138?: string
  readonly VITE_DEFAULT_FRONTEND_CHAIN_ID?: string
  readonly VITE_TRUSTLESS_L2_CHAIN_ID?: string
  readonly VITE_LOCKBOX_2138?: string
  readonly VITE_WETH_CHAIN2138?: string
  readonly VITE_CUSDT_CHAIN2138?: string
  readonly VITE_CUSDC_CHAIN2138?: string
  readonly VITE_TRANSACTION_MIRROR_CHAIN2138?: string
}

import { EventEmitter } from 'events'

interface Window {
  Buffer: typeof Buffer
  EventEmitter: typeof EventEmitter
}

declare global {
  var Buffer: typeof import('buffer').Buffer
  var EventEmitter: typeof import('events').EventEmitter
}

export {}
