import { inspectMigrationManager, releaseMigrationManager } from "./service-migration-manager.js"; import type { ServiceHost } from "./service-host.js"; import type { ServicePlatform, ServicePlatformState } from "./service-platform.js"; import type { ServiceMigrationBackup, ServiceMigrationPort } from "./service-migration-types.js"; /** * 热迁移端口,只能由持有服务锁的协调器调用。冷恢复不能重建本对象后重放。 * confirmStopped必须检查持久进程归属及工作区排他锁;平台主PID退出并不足够。 */ export declare function createServiceMigrationPort(options: { backup: ServiceMigrationBackup; host: ServiceHost; platform: ServicePlatform; operationId: string; originalState: ServicePlatformState; readinessTimeoutMs?: number; now?(): number; sleep?(milliseconds: number): Promise; confirmStopped?(workspace: string): Promise; manager?: { inspect: typeof inspectMigrationManager; release: typeof releaseMigrationManager; }; }): ServiceMigrationPort; //# sourceMappingURL=service-migration-port.d.ts.map