import type { AgentChatMode, ProjectRegistration } from './types'; export declare class ChildProcessManager { private readonly processes; private readonly restartTimers; private readonly busyResponseHandlers; private stopping; onUpdateComplete?: (project: ProjectRegistration) => void; forkProject(project: ProjectRegistration, agentId: string, options: { pollInterval: number; heartbeatInterval: number; agentChatMode?: AgentChatMode; defaultProjectDir?: string; }): void; private spawnChild; private handleChildMessage; private handleChildExit; /** * 特定プロジェクトの子プロセスを graceful shutdown する */ stopProject(project: ProjectRegistration, timeoutMs?: number): Promise; hasProject(project: ProjectRegistration): boolean; sendTokenUpdate(project: ProjectRegistration, newToken: string): void; sendUpdateToAll(): void; stopAll(timeoutMs?: number): Promise; isAnyBusy(timeoutMs?: number): Promise; getRunningCount(): number; } //# sourceMappingURL=child-process-manager.d.ts.map