import type { CoworkAdapter } from './cowork-adapter.js'; import type { RoomOrchestrationRecord, TemplateSnapshot } from './types.js'; import { type FleetConfig } from '../config.js'; export declare function getBinPath(): string; export interface ProvisionMembersInput { cfg: FleetConfig; cowork: CoworkAdapter; roomId: string; taskId?: string; template: TemplateSnapshot; binPath: string; brief?: string; goal?: string; startupWait?: Partial; } export interface StartupWaitPolicy { timeoutMs: number; initialDelayMs: number; maxDelayMs: number; now(): number; sleep(ms: number): Promise; } export declare function provisionMembers(input: ProvisionMembersInput): Promise; export declare function cleanupMembers(input: { roomId: string; taskId?: string; closeCoworkRoom?: boolean; cowork?: CoworkAdapter; }): Promise;