import { spawnBackgroundCommand, spawnPtyBackgroundCommand, waitForReady } from "../utils.js"; export { startBackgroundProcessSurface }; export type { ProcessSurfaceDescriptor }; interface ProcessSurfaceDeps { spawnBackgroundCommand: typeof spawnBackgroundCommand; spawnPtyBackgroundCommand: typeof spawnPtyBackgroundCommand; waitForReady: typeof waitForReady; isTransientProcessInitError: (message?: string, platform?: string) => boolean; platform: string; sleep: (ms: number) => Promise; } interface ProcessSurfaceDescriptor { command: string; name: string; args?: string[]; workingDirectory?: string; shell?: string; tty?: boolean; waitUntil?: any; timeout?: number; } declare function startBackgroundProcessSurface({ config, descriptor, processRegistry, driver, deps, }: { config: any; descriptor: ProcessSurfaceDescriptor; processRegistry?: Map; driver?: any; deps?: Partial; }): Promise<{ status: string; description: string; outputs?: any; }>; //# sourceMappingURL=processSurface.d.ts.map