import { Uni } from './interface'; export interface GetOrRemoveOptionStruct extends Uni.COptions { key: string; success?: (res: any) => any; fail?: (res: any) => any; complete?: (res: any) => any; } export interface GetOrRemoveSyncOptionStruct extends Uni.COptions { key: string; } export interface GetStorageSyncRes { data: any; } export declare type GetStorageRes = Promise; export interface SetOptionStruct extends Uni.COptions { key: string; data: undefined | null | string | Record | any[] | number | Date | boolean; success?: (res: any) => any; fail?: (res: any) => any; complete?: (res: any) => any; } export interface SetSyncOptionStruct extends Uni.COptions { key: string; data: undefined | null | string | Record | any[] | number | Date | boolean; }