export interface TestCommand { readonly executable: string; readonly arguments: readonly string[]; } export interface TestCommandResult { readonly exitCode: number; readonly stderr: string; readonly stdout: string; } export interface TestCommandOptions extends TestCommand { readonly captureOutput: boolean; readonly cwd: string; readonly environment: NodeJS.ProcessEnv; readonly onStdout?: (output: string) => void; readonly onStderr?: (output: string) => void; readonly signal?: AbortSignal; } export declare function createTestCommandEnvironment(cwd: string): NodeJS.ProcessEnv; export declare function configureTestCommandHostEnvironment(cwd: string): void; export declare function formatTestCommand(command: TestCommand): string; export declare function runTestCommand(options: TestCommandOptions): Promise;