import type { PlatformStorage, AdvancedPlatformStorage } from '../../storage/storage.js'; import type { Optional } from '@sudobility/types'; interface AsyncStorageStatic { setItem(key: string, value: string): Promise; getItem(key: string): Promise; removeItem(key: string): Promise; clear(): Promise; getAllKeys(): Promise; multiRemove(keys: string[]): Promise; } export declare function setAsyncStorageModule(storage: AsyncStorageStatic | null): void; export declare class RNStorage implements PlatformStorage { setItem(key: string, value: string): Promise; getItem(key: string): Promise>; removeItem(key: string): Promise; clear(): Promise; getAllKeys(): Promise; } export declare class AdvancedRNStorage implements AdvancedPlatformStorage { private storage; constructor(); setItem(key: string, value: string, ttl?: Optional): Promise; getItem(key: string): Promise>; removeItem(key: string): Promise; clear(): Promise; getAllKeys(): Promise; hasItem(key: string): Promise; clearPattern(pattern?: Optional): Promise; } export declare const rnStorage: RNStorage; export declare const advancedRNStorage: AdvancedRNStorage; export {}; //# sourceMappingURL=storage.rn.d.ts.map