export declare class CleanupScheduler {
    private intervals;
    private directory;
    constructor(directory: string);
    start(): void;
    private schedule;
    stop(): void;
    compactWAL(): Promise<void>;
    cleanDocs(): Promise<void>;
    rotateHistory(): Promise<void>;
    /**
     * Clean old session files (>7 days)
     */
    cleanOldSessions(): Promise<void>;
    /**
     * Remove node_modules from .opencode directory
     */
    cleanNodeModules(): Promise<void>;
    /**
     * Enforce file count limit (500 files max)
     */
    enforceFileLimit(): Promise<void>;
    /**
     * Recursively list all files in a directory
     */
    private listAllFiles;
}
