import type { FasedAgentConfig } from "../config/config.js";
import type { MemoryEmbeddingProbeResult, MemoryProviderStatus, MemorySearchManager, MemorySearchResult, MemorySyncProgressUpdate } from "./types.js";
export declare class FilesystemMemorySearchManager implements MemorySearchManager {
    private readonly cfg;
    private readonly agentId;
    private readonly workspaceDir;
    private readonly settings;
    private readonly unavailableReason;
    private snapshot;
    private constructor();
    static create(params: {
        cfg: FasedAgentConfig;
        agentId: string;
        unavailableReason: string;
    }): Promise<FilesystemMemorySearchManager | null>;
    search(query: string, opts?: {
        maxResults?: number;
        minScore?: number;
    }): Promise<MemorySearchResult[]>;
    readFile(params: {
        relPath: string;
        from?: number;
        lines?: number;
    }): Promise<{
        text: string;
        path: string;
    }>;
    status(): MemoryProviderStatus;
    sync(params?: {
        progress?: (update: MemorySyncProgressUpdate) => void;
    }): Promise<void>;
    probeEmbeddingAvailability(): Promise<MemoryEmbeddingProbeResult>;
    probeVectorAvailability(): Promise<boolean>;
    close(): Promise<void>;
    private refreshSnapshot;
    private listFiles;
    private isAllowedReadPath;
}
