import { ChainId } from '@dodoex/api';
export declare function getPharosTestnetSwitched(): boolean;
export declare function setPharosTestnetSwitched(isSwitched: boolean): void;
export declare function updatePharosTestnetRpc(chainId: ChainId, provider?: any): Promise<boolean | undefined>;
/**
 * switch wallet chain
 *  @see https://docs.metamask.io/guide/rpc-api.html#usage-with-wallet-switchethereumchain
 */
export declare function registerNetworkWithMetamask({ chainId, provider, }: {
    chainId: ChainId;
    provider?: any;
}): Promise<boolean>;
export declare function useSwitchChain(chainId?: ChainId): (() => Promise<boolean>) | undefined;
