import type { DockerService } from './docker'; import type { Logger } from '../types'; export interface SandboxManagerConfig { image: string; } export interface ActiveSandbox { containerName: string; projectDir: string; startedAt: string; } export interface SandboxManager { docker: DockerService; start(worktreeName: string, projectDir: string, startedAt?: string): Promise<{ containerName: string; }>; stop(worktreeName: string): Promise; getActive(worktreeName: string): ActiveSandbox | null; isActive(worktreeName: string): boolean; cleanupOrphans(preserveWorktrees?: string[]): Promise; restore(worktreeName: string, projectDir: string, startedAt: string): Promise; } export declare function createSandboxManager(docker: DockerService, config: SandboxManagerConfig, logger: Logger): SandboxManager; //# sourceMappingURL=manager.d.ts.map