import { type ShouldLogFlag } from "./utils"; declare abstract class PlatformAvoStorage { abstract init(shouldLog: ShouldLogFlag, suffix: string): void; abstract getItemAsync(key: string): Promise; abstract getItem(key: string): T | null; abstract setItem(key: string, value: T): void; abstract removeItem(key: string): void; abstract runAfterInit(func: () => void): void; abstract isInitialized(): boolean; parseJson(maybeItem: string | null | undefined): T | null; } export declare class AvoStorage { Platform: string | null; storageImpl: PlatformAvoStorage; constructor(shouldLog: ShouldLogFlag, suffix?: string); isInitialized(): boolean; getItemAsync(key: string): Promise; getItem(key: string): T | null; setItem(key: string, value: T): void; removeItem(key: string): void; runAfterInit(func: () => void): void; } export {};