import type { ResumablePayload } from "./codes.ts"; export interface PiSelfLaunchTarget { executable: string; argsPrefix: readonly string[]; } export type ResumablePiAgentLaunchOutcome = { started: true; pid: number; completion: Promise<{ code: number | null; signal: NodeJS.Signals | null; }>; } | { started: false; reason: string; }; export declare function buildResumablePiAgentWakePrompt(payload: ResumablePayload): string; /** Launches one exact persisted Pi session; completion is observed only through process events. */ export declare function launchResumablePiAgent(options: { payload: ResumablePayload; target: PiSelfLaunchTarget; parentPid: number; parentSessionId: string; environment: NodeJS.ProcessEnv; }): Promise; //# sourceMappingURL=resume-launcher.d.ts.map