import { InternalCallMethod, NamespaceBase } from './base'; /** * # Storage Namespace * * The API Storage namespace. */ export declare class StorageNamespace extends NamespaceBase { /** @hidden */ constructor(_call: InternalCallMethod); /** * Set an item in session storage (unsynced, does not persist). */ setSession: (key: string, value: any) => Promise; /** * Get an item from session storage (unsynced, does not persist). */ getSession: (key: string | undefined) => Promise; /** * Set an item in synced storage (synced, does persist). */ setSynced: (key: string, value: any) => Promise; /** * Get an item from synced storage (synced, does persist). */ getSynced: (key: string | undefined) => Promise; /** * Set an item in local storage (unsynced, does persist). */ setLocal: (key: string, value: any) => Promise; /** * Get an item from local storage (unsynced, does persist). */ getLocal: (key: string | undefined) => Promise; }