import type { ConnectorManager } from "@skaile/workspaces/connectors"; import type { CompactionOrchestrator } from "./compaction/index.js"; import type { RunnerCapabilityHandlers } from "./runner-capabilities.js"; export interface LifecycleHandlerDeps { /** The current compaction orchestrator, or null before the driver is built. */ getCompactionOrchestrator: () => CompactionOrchestrator | null; /** The live unified connector manager, or null before the session is built. */ getResourceManager: () => ConnectorManager | null; log: (msg: string) => void; } /** * Build the `runner.lifecycle` handler. Each phase is best-effort: a missing * dependency (orchestrator/manager not yet built) logs and no-ops rather than * throwing, so the platform's lifecycle invoke always resolves cleanly. */ export declare function buildLifecycleHandler(deps: LifecycleHandlerDeps): NonNullable; //# sourceMappingURL=lifecycle-handler.d.ts.map