/**
 * 存储工具类
 * 支持localStorage、sessionStorage和cookie三种存储方式
 */
type StorageType = 'localStorage' | 'sessionStorage' | 'cookie';
/**
 * 存储工具类
 */
export declare class Storage {
    private storageType;
    private prefix;
    /**
     * 构造函数
     * @param storageType 存储类型
     * @param prefix 存储前缀，默认'unified_login_'
     */
    constructor(storageType?: StorageType, prefix?: string);
    /**
     * 设置存储项
     * @param key 存储键
     * @param value 存储值
     * @param options 可选参数，cookie存储时使用
     */
    set(key: string, value: any, options?: {
        expires?: number;
        path?: string;
        domain?: string;
        secure?: boolean;
    }): void;
    /**
     * 获取存储项
     * @param key 存储键
     * @returns 存储值
     */
    get(key: string): any;
    /**
     * 移除存储项
     * @param key 存储键
     */
    remove(key: string): void;
    /**
     * 清空所有存储项
     */
    clear(): void;
    /**
     * 检查存储类型是否可用
     * @returns boolean 是否可用
     */
    isAvailable(): boolean;
    /**
     * 设置localStorage
     */
    private setLocalStorage;
    /**
     * 获取localStorage
     */
    private getLocalStorage;
    /**
     * 移除localStorage
     */
    private removeLocalStorage;
    /**
     * 清空localStorage中所有带前缀的项
     */
    private clearLocalStorage;
    /**
     * 检查localStorage是否可用
     */
    private isLocalStorageAvailable;
    /**
     * 设置sessionStorage
     */
    private setSessionStorage;
    /**
     * 获取sessionStorage
     */
    private getSessionStorage;
    /**
     * 移除sessionStorage
     */
    private removeSessionStorage;
    /**
     * 清空sessionStorage中所有带前缀的项
     */
    private clearSessionStorage;
    /**
     * 检查sessionStorage是否可用
     */
    private isSessionStorageAvailable;
    /**
     * 设置cookie
     */
    private setCookie;
    /**
     * 获取cookie
     */
    private getCookie;
    /**
     * 移除cookie
     */
    private removeCookie;
    /**
     * 清空所有带前缀的cookie
     */
    private clearCookie;
}
export {};
//# sourceMappingURL=storage.d.ts.map