import { MemoryCatalogService } from './catalog.js';
import { MemoryMaintenanceRepository } from './maintenance-repository.js';
import type { KnowledgeCandidate, RunKnowledgeMaintenanceOptions, RunKnowledgeMaintenanceResult } from './types.js';
/**
 * Owns the agent-backed memory maintenance workflow over pending candidates.
 */
export declare class MemoryMaintenanceService {
    private readonly memoryRoot;
    private readonly repository;
    private readonly catalog;
    constructor(memoryRoot: string, repository?: MemoryMaintenanceRepository, catalog?: MemoryCatalogService);
    readPendingCandidates(): Promise<KnowledgeCandidate[]>;
    run(options: Omit<RunKnowledgeMaintenanceOptions, 'memoryRoot'>): Promise<RunKnowledgeMaintenanceResult>;
    runBacklog(options: Omit<RunKnowledgeMaintenanceOptions, 'memoryRoot' | 'observations'>): Promise<RunKnowledgeMaintenanceResult>;
    static isRecordableCandidateText(value: string): boolean;
    static isSafeSourceRef(value: string, memoryRoot: string): boolean;
    private static skippedRun;
    private static isMaintainerCandidateAllowed;
    private static containsSecretLikeText;
}
//# sourceMappingURL=maintainer.d.ts.map