import { Provider } from "ethers"; export declare const MAINNET_NETWORK = 1; export declare const GOERLI_NETWORK = 5; export declare const OPTIMISM_NETWORK = 10; export declare const LOCAL_NETWORK = 1337; export declare const HARDHAT_NETWORK = 31337; export declare const ARBITRUM_NETWORK = 42161; export declare const BASE_NETWORK = 8453; export declare const SONIC_NETWORK = 146; export declare const CHAINS: { readonly Mainnet: 1; readonly Arbitrum: 42161; readonly Local: 1337; readonly Hardhat: 31337; readonly Optimism: 10; readonly Base: 8453; readonly Sonic: 146; }; export declare const supportedChains: readonly ["Mainnet", "Arbitrum", "Optimism", "Base", "Sonic"]; export type NetworkType = (typeof supportedChains)[number]; export declare const getNetworkType: (chainId: number, localAs?: NetworkType) => NetworkType; export declare const isSupportedNetwork: (chainId: number | undefined) => chainId is number; export declare const detectNetwork: (provider: Provider) => Promise;