import { CoinType } from '../constant'; import { SignDataParams } from '../wallets/WalletSignerHandler'; interface LoginCacheState { coinType?: CoinType; walletConnectDisplayUri?: string; walletName?: string; signDataParams?: SignDataParams | null; } export declare const loginCacheState: LoginCacheState; export declare const setLoginCacheState: ({ coinType, walletName, walletConnectDisplayUri, signDataParams, }: LoginCacheState) => void; export declare function useLoginCacheState(): { loginCacheSnap: { readonly coinType?: CoinType | undefined; readonly walletConnectDisplayUri?: string | undefined; readonly walletName?: string | undefined; readonly signDataParams?: { readonly data: string | { readonly types: { readonly [x: string]: readonly { readonly name: string; readonly type: string; }[]; readonly EIP712Domain: readonly { readonly name: string; readonly type: string; }[]; }; readonly primaryType: keyof import("@metamask/eth-sig-util").MessageTypes; readonly domain: { readonly name?: string | undefined; readonly version?: string | undefined; readonly chainId?: number | undefined; readonly verifyingContract?: string | undefined; readonly salt?: { readonly byteLength: number; readonly slice: (begin: number, end?: number | undefined) => ArrayBuffer; readonly [Symbol.toStringTag]: string; } | undefined; }; readonly message: { readonly [x: string]: unknown; }; }; readonly isEIP712?: boolean | undefined; } | null | undefined; }; }; export {};