UNPKG

@tmawallet/sdk

Version:
17 lines (16 loc) 611 B
import { AbstractStorage } from './AbstractStorage'; export declare class TelegramCloudStorage extends AbstractStorage { private _getItem; private _getItems; private _setItem; private _removeItem; private _removeItems; private _getKeys; getItem(key: string): Promise<string>; getItems(keys: string[]): Promise<Record<string, string>>; setItem(key: string, value: string): Promise<void>; setItems(items: Record<string, string>): Promise<void>; removeItem(key: string): Promise<void>; removeItems(keys: string[]): Promise<void>; getKeys(): Promise<string[]>; }