import type { ChannelDriver, ChannelId, MonoAgentAppLogger, RunningChannel } from "./channels.js"; import { type MonitorsSettings } from "./monitors-config.js"; import { type MonitorsServiceHandle } from "./monitors-service.js"; export interface MonitorsControllerPort { readonly configReadPath: string; readonly logger: MonoAgentAppLogger | undefined; readonly drivers: readonly ChannelDriver[]; readonly running: Map; readonly stopped: boolean; /** The prepared, protected process-job state root; monitors share it. */ readonly processJobsStateDir: string | undefined; monitorsService: MonitorsServiceHandle | undefined; monitorsServiceStart: Promise | undefined; monitorsServiceStartFlight?: symbol | undefined; monitorsSettings: MonitorsSettings | undefined; monitorsDegradation: { readonly reason: string; } | undefined; } /** Load the monitor block once per controller generation. */ export declare function prepareMonitors(controller: MonitorsControllerPort): Promise; export declare function ensureMonitorsService(controller: MonitorsControllerPort): Promise; export declare function startMonitorsIfConfigured(controller: MonitorsControllerPort): Promise; export declare function activateMonitorWakes(controller: MonitorsControllerPort): Promise; export declare function stopMonitorsService(controller: MonitorsControllerPort): Promise; //# sourceMappingURL=app-controller-monitors.d.ts.map