import { TokenInfo } from '../hooks/Token';
import { ChainId } from '@dodoex/api';
export declare function getAuthSwitchCache(): boolean;
export declare function setAuthSwitchCache(isAuto: boolean): void;
export interface LastTokenCache {
    chainId: ChainId;
    address: string;
}
export declare function getLastToken(side: TokenInfo['side']): LastTokenCache | null;
export declare function setLastToken(side: TokenInfo['side'], token: LastTokenCache | null): void;
export declare function getLastSlippage(isBridge: boolean): number | null;
export declare function setLastSlippage(isBridge: boolean, slippage: number | string | null): void;
export declare const RiskOncePageLocalStorage: Record<string, string>;
export declare function getIsPoolEditRiskWarningOpen(): boolean;
