import type { ConversationModel, UserData } from '../chat'; export declare class AsyncStorageBasic { prefix: string; useId: string | undefined; constructor(params: { appKey: string; }); destructor(): void; setCurrentId(useId: string): void; setData(params: { key: string; value: string; }): Promise<{ isOk: boolean; error?: any; }>; setDataWithPrefix(params: { key: string; value: string; }): Promise<{ isOk: boolean; error?: any; }>; setDataWithUser(params: { key: string; value: string; }): Promise<{ isOk: boolean; error?: any; }>; getData(params: { key: string; }): Promise<{ value?: string; error?: any; }>; getDataWithPrefix(params: { key: string; }): Promise<{ value?: string; error?: any; }>; getDataWithUser(params: { key: string; }): Promise<{ value?: string; error?: any; }>; } export declare class ConversationStorage extends AsyncStorageBasic { constructor(params: { appKey: string; }); destructor(): void; isFinishedForFetchList(): Promise; setFinishedForFetchList(isFinished: boolean): Promise; isFinishedForDoNotDisturb(): Promise; setFinishedForDoNotDisturb(isFinished: boolean): Promise; setAllConversation(list: ConversationModel[]): Promise; getAllConversation(): Promise; } export declare class UserStorage extends AsyncStorageBasic { constructor(params: { appKey: string; }); destructor(): void; setAllUser(list: UserData[]): Promise; getAllUser(): Promise; } //# sourceMappingURL=storage.d.ts.map