import { BotApiVersion, Merge, SchemaBase, SinceLatest, SinceUntil } from '../types'; type v90 = ReturnType; type AllFeatures = v90; export type Schema = { '6.0': SchemaBase; '9.0': Merge; }; export type DeviceStorage = SinceUntil | SinceLatest; declare function useDeviceStorage90(): { setItem: { (key: string, value: string): Promise; (key: string, value: string, callback?: ((error: string | null, success: true | null) => void) | undefined): void; }; getItem: { (key: string): Promise; (key: string, callback?: ((error: string | null, value: string | null) => void) | undefined): void; }; removeItem: { (key: string): Promise; (key: string, callback?: ((error: string | null, success: true | null) => void) | undefined): void; }; clear: { (): Promise; (callback?: ((error: string | null) => void) | undefined): void; }; }; export declare function useDeviceStorage(baseVersion: Version): import('../types').VersionedReturnType; export {};