/** A native executable and its argv, suitable for both PTY and pipe transports. */ export interface PiCommand { readonly command: string; readonly arguments: string[]; } /** Resolve the Windows Pi shim through public bin metadata, without invoking a shell. */ export declare function resolvePiCommand(command: string, arguments_: readonly string[], environment?: NodeJS.ProcessEnv, platform?: NodeJS.Platform): PiCommand; /** Locate an explicitly selected executable/shim using the Windows PATH and PATHEXT. */ export declare function resolvePtyCommand(command: string, platform?: NodeJS.Platform, environment?: NodeJS.ProcessEnv, exists?: (candidate: string) => boolean): string;