/** * Namespaced storage for organizing data */ export declare class NamespacedStorage { private prefix; private storage; constructor(storage: any, namespace: string); private getIndex; private saveToIndex; private removeFromIndex; /** * Set item in this namespace */ setItem(key: string, value: string): Promise; /** * Set item with expiry in this namespace */ setItemWithExpiry(key: string, value: string, options: { expiresIn?: number; expiresAt?: Date; }): Promise; /** * Get item from this namespace */ getItem(key: string): Promise; /** * Remove item from this namespace */ removeItem(key: string): Promise; /** * Check if item exists in this namespace */ hasItem(key: string): Promise; /** * Clear all items in this namespace */ clearNamespace(): Promise; /** * Get all keys in this namespace */ keys(): Promise; }