UNPKG

@zakarliuka/react-telegram-web-tools

Version:
10 lines (9 loc) 396 B
declare const useCloudStorage: () => { getItem: (key: string) => Promise<string | undefined>; setItem: (key: string, value: string) => Promise<void>; getItems: (key: string[]) => Promise<Record<string, string>>; removeItem: (key: string) => Promise<void>; removeItems: (key: string[]) => Promise<void>; getKeys: () => Promise<string[]>; }; export default useCloudStorage;