//#region src/utils/NamespacedStorage/NamespacedStorage.d.ts
declare class NamespacedStorage implements Storage {
  private readonly _keyPrefix;
  private readonly _storage;
  constructor(namespace: string, storage: Storage);
  protected getNamespacedKeys(): string[];
  get length(): number;
  clear(): void;
  getItem(key: string): string | null;
  key(index: number): string | null;
  removeItem(key: string): void;
  setItem(key: string, value: string): void;
  /**
   * Returns the namespaced underlying-storage key for a logical key. Browser
   * `storage` events fire with the underlying key, so callers that filter
   * those events need to compare against this value rather than the logical
   * key. Plain `Storage` instances do not expose this method; callers should
   * fall back to the logical key in that case.
   */
  getStorageEventKey(logicalKey: string): string;
}
//#endregion
export { NamespacedStorage };
//# sourceMappingURL=NamespacedStorage.d.cts.map