type CustomStorage = { store: { [key: string]: unknown; }; getItem(key: string): string | null; setItem(key: string, value: any): void; removeItem(key: string): boolean; }; type Storage = { isSupported(): boolean; get(key: string): unknown; set(key: string, value: any): void; delete(key: string): void; getStorage(): CustomStorage | typeof localStorage; }; declare const storage: Storage; export default storage;