import type { ProactiveAnalyzer } from './ProactiveAnalyzer.js';
interface ModuleStatus {
    name: string;
    lastRunAt: string | null;
    lastRunDuration: number | null;
    runCount: number;
    errorCount: number;
}
export declare class BackgroundMonitor {
    private readonly analyzer;
    private readonly enabled;
    private running;
    private readonly queue;
    private readonly moduleStatus;
    private dependencyTimerId;
    private started;
    constructor(deps: {
        analyzer: ProactiveAnalyzer;
        enabled?: boolean;
    });
    start(): void;
    stop(): void;
    onFileChanged(filePath: string, content: string): Promise<void>;
    onBuildComplete(): Promise<void>;
    runAll(fileContent?: string, filePath?: string): Promise<void>;
    getStatus(): ReadonlyArray<ModuleStatus>;
    isStarted(): boolean;
    isEnabled(): boolean;
    getRunningCount(): number;
    private triggerAnalysis;
    private createTimeout;
    private processQueue;
    private updateModuleStatus;
}
export {};
//# sourceMappingURL=BackgroundMonitor.d.ts.map