import { ContextEntry, SearchResult } from '../types';
export declare class StorageManager {
    private storagePath;
    private shardManager;
    private indexManager;
    private lock;
    constructor(storagePath: string);
    static create(customStoragePath?: string): Promise<StorageManager>;
    addContext(tag: string, content: string, categories?: string[]): Promise<void>;
    readContext(tag: string): Promise<ContextEntry | null>;
    updateContext(tag: string, content: string, categories?: string[]): Promise<void>;
    removeContext(tag: string): Promise<boolean>;
    listAllTags(): Promise<string[]>;
    getAllContexts(): Promise<Record<string, ContextEntry>>;
    searchContexts(query: string, useFuzzy?: boolean): Promise<SearchResult[]>;
    rebuildIndex(): Promise<void>;
    getStoragePath(): string;
}
//# sourceMappingURL=storage.d.ts.map