import type { MonoRuntimeLike } from "@mono-agent/runtime-adapter"; import type { ChannelDriver, ChannelId, ChannelStatus, RunningChannel } from "./channels.js"; import type { ConfigApplyResult, SandboxStatus, TraceabilityStatus, ExporterStatus } from "./app-controller-types.js"; export interface LifecycleControllerPort { readonly drivers: readonly ChannelDriver[]; readonly driversById: ReadonlyMap; readonly running: Map; readonly startsInFlight: Map>; readonly activeRuntimes: MonoRuntimeLike[]; configApplyTail: Promise; stopped: boolean; invalidateMemoryHealthRefresh(): void; stopChannel(id: ChannelId, reason: string): Promise; stopContinuationService(): Promise; stopProcessJobsService(): Promise; stopInteractionBridge(): Promise; stopMemoryRituals(): void; stopArtifactRetentionScheduler(): void; resetSharedMemory(): Promise; stopTraceSource(reason: string): Promise; refreshSandboxStatus(reason: string): Promise; startTraceability(reason: string): Promise; startExporters(reason: string): Promise; startContinuationServiceIfConfigured(reason: string): Promise; prepareProcessJobsProtection(reason: string): Promise; startProcessJobsIfConfigured(reason: string): Promise; activateProcessJobWakes(): Promise; startChannelIfConfigured(id: ChannelId, reason: string): Promise; startMemoryRitualsIfConfigured(reason: string): Promise; refreshMemoryHealthAfterLifecycle(reason: string, beforePublish?: () => void): Promise; applyResult(): ConfigApplyResult; channelStatus(id: ChannelId): ChannelStatus; refreshTraceSource(reason: string): Promise; startChannel(driver: ChannelDriver, reason: string): Promise; releaseAgentRootOwnership(): Promise; } export declare function applyConfigChange(controller: LifecycleControllerPort, reason: string): Promise; export declare function startChannelIfConfigured(controller: LifecycleControllerPort, id: ChannelId, reason: string): Promise; export declare function stop(controller: LifecycleControllerPort): Promise; //# sourceMappingURL=app-controller-lifecycle.d.ts.map