import * as ms from 'ms'; import { Address } from '@snowballtools/types'; import { Network } from 'alchemy-sdk'; import { Chain } from 'viem/chains'; declare var debug: debug.Debug & { debug: debug.Debug; default: debug.Debug } declare namespace debug { interface Debug { (namespace: string): Debugger coerce: (val: any) => any disable: () => string enable: (namespaces: string) => void enabled: (namespaces: string) => boolean formatArgs: (this: Debugger, args: any[]) => void log: (...args: any[]) => any selectColor: (namespace: string) => string | number humanize: typeof ms names: RegExp[] skips: RegExp[] formatters: Formatters inspectOpts?: { hideDate?: boolean | number | null colors?: boolean | number | null depth?: boolean | number | null showHidden?: boolean | number | null } } type IDebug = Debug interface Formatters { [formatter: string]: (v: any) => string } type IDebugger = Debugger interface Debugger { (formatter: any, ...args: any[]): void color: string diff: number enabled: boolean log: (...args: any[]) => any namespace: string destroy: () => boolean extend: (namespace: string, delimiter?: string) => Debugger } } declare const DEFAULT_EXP: string; declare class SnowballChain { static ethereum: SnowballChain; static goerli: SnowballChain; static sepolia: SnowballChain; static mantle: SnowballChain; static mantle_testnet: SnowballChain; static polygon: SnowballChain; static mumbai: SnowballChain; static arbitrum: SnowballChain; static optimism: SnowballChain; static celo: SnowballChain; static base: SnowballChain; static base_goerli: SnowballChain; static toViemMap: Map; static toAlchemyNetworkMap: Map; static byChainId: Map; chainId: number; name: string; symbol: string; decimals: number; type: string; enabled: boolean; rpcUrls: string[]; blockExplorerUrls: string[]; vmType: string; testNetwork: boolean; factoryAddress: Address; entryPointAddress: Address; constructor(data: { chainId: number; name: string; symbol: string; decimals: number; type: string; enabled: boolean; rpcUrls: string[]; blockExplorerUrls: string[]; vmType: string; testNetwork: boolean; factoryAddress: Address; entryPointAddress: Address; }); alchemyRpcUrls(apiKey: string): string[]; toViemChain(): Chain; toAlchemyNetwork(): Network; } declare function base64UrlDecode(base64Url: string): ArrayBuffer; declare function renderTimestamp(): string; declare const logBase: debug.Debugger; type Debugger = debug.Debugger; export { DEFAULT_EXP, type Debugger, SnowballChain, base64UrlDecode, logBase, renderTimestamp };