export interface AsyncStorage { getItem(key: string): Promise; setItem(key: string, value: string): Promise; removeItem(key: string): Promise; } export type CreateAsyncStorage = (name: string) => AsyncStorage; /** * @internal */ export declare class AsyncLocalStorage implements AsyncStorage { name: string; constructor(name: string); getItem(key: string): Promise; setItem(key: string, value: string): Promise; removeItem(key: string): Promise; } /** * @internal */ export declare function createAsyncLocalStorage(name: string): AsyncLocalStorage; //# sourceMappingURL=AsyncStorage.d.ts.map