import type { Command } from 'commander'; /** * Split a shell line into argv, honouring quotes so prompts survive intact: * workshop-episode --concept "she finds the letter" * Commander would otherwise receive five arguments instead of one. */ export declare function tokenize(line: string): string[]; export interface ShellOptions { /** Defaults to process.stdin. Supplying a stream disables terminal mode. */ input?: NodeJS.ReadableStream; /** Defaults to process.stdout. */ output?: NodeJS.WritableStream; /** Override the TTY requirement (tests drive the loop over plain streams). */ interactive?: boolean; color?: boolean; } export declare function startShell(program: Command, options?: ShellOptions): Promise; //# sourceMappingURL=shell.d.ts.map