import { type ExecResult } from '../../utils/exec.js'; import type { ClusterContext } from './context.js'; export declare function dockerComposeArgs(ctx: ClusterContext): string[]; export interface RunComposeOptions { env?: Record; } export declare function runCompose(ctx: ClusterContext, subcommand: string[], options?: RunComposeOptions): ExecResult; export interface LifecycleActionResult { ok: boolean; status: number; body: string; } /** * Invoke a control-plane lifecycle action via the orchestrator container. * * Wraps `docker compose exec orchestrator curl --unix-socket ... -X POST * http://x/lifecycle/`. Best-effort: a 10s exec timeout caps the call; * non-2xx and exec failures are swallowed and logged as warnings so CLI * teardown is never blocked by a misbehaving control-plane. */ export declare function lifecycleAction(ctx: ClusterContext, action: string, body?: unknown): LifecycleActionResult; //# sourceMappingURL=compose.d.ts.map