import type { InjectedAccountWithMeta, InjectedExtension, InjectedProviderWithMeta, ProviderList, Unsubcall, Web3AccountsOptions } from "../extension-inject/types"; export declare const SELECTED_EXTENSION_IDENT = "selected_extension_reef"; declare let isWeb3Injected: boolean; declare let web3EnablePromise: Promise | null; export { isWeb3Injected, web3EnablePromise }; export declare function web3Enable(originName: string, compatInits?: (() => Promise)[], tryConnectSnap?: boolean): Promise; export declare function web3Accounts({ accountType, ss58Format, }?: Web3AccountsOptions): Promise; export declare function web3AccountsSubscribe(cb: (accounts: InjectedAccountWithMeta[]) => void | Promise, { ss58Format }?: Web3AccountsOptions): Promise; export declare function web3FromSource(source: string): Promise; export declare function web3FromAddress(address: string): Promise; export declare function web3ListRpcProviders(source: string): Promise; export declare function web3UseRpcProvider(source: string, key: string): Promise;