import { BaseStorageAdapter } from './StorageAdapter.js';
export declare class LocalStorageAdapter extends BaseStorageAdapter {
    private prefix;
    constructor(prefix?: string);
    /**
     * Probe localStorage availability by attempting a test write.
     * This catches private mode and other restrictions that block localStorage.
     */
    static probe(): {
        available: boolean;
        error?: Error;
    };
    private getKey;
    get(key: string): Promise<string | null>;
    set(key: string, value: string): Promise<void>;
    delete(key: string): Promise<void>;
    keys(): Promise<Array<string>>;
    clear(): Promise<void>;
}
