import type { Storage, CacheKey } from '@logto/client'; import type { Nullable } from '@silverhand/essentials'; export declare class CacheStorage implements Storage { readonly endpoint: string; readonly appId: string; constructor(endpoint: string, appId: string); getKey(item?: string): string; getItem(key: CacheKey): Promise>; setItem(key: CacheKey, value: string): Promise; removeItem(key: CacheKey): Promise; }