import type { HarnessName } from "../knowledge/descriptor.js"; import type { InteractiveControlBody, InteractiveControlRecord } from "../knowledge/interactive.js"; export interface InteractiveControlAddress { readonly fd: number; readonly launchId: string; } export interface InteractiveRequest { readonly cwd: string; readonly environment?: Readonly>; readonly harness: HarnessName; readonly interface: string; readonly launchId: string; readonly sessionId: string; readonly startupPrompt?: string; } export declare function validStartupPrompt(prompt: string | undefined): boolean; /** An invalid request can be refused only over an unambiguous caller channel. */ export declare function interactiveControlAddress(args: readonly string[]): InteractiveControlAddress | undefined; export declare function parseInteractiveRequest(args: readonly string[]): InteractiveRequest | undefined; export declare function interactiveArgv(request: InteractiveRequest): readonly string[] | undefined; export declare function makeInteractiveRecord(launchId: string, body: InteractiveControlBody): InteractiveControlRecord; //# sourceMappingURL=interactive.d.ts.map