export declare type setAction = (key: string, data: any) => Promise; export declare type getAction = (key?: string) => Promise; export declare type getActionSync = (key: string) => any; export declare type removeAction = (key: string) => Promise; export interface IAction { getSync: getActionSync; set: setAction; get: getAction; remove: removeAction; } declare function useStorage(): IAction; export default useStorage;