import type { SessionSource } from './types.js'; export interface RunCommand { bin: string; args: string[]; } /** * Build the resume-an-existing-session command for `source`. Every branch * returns a fully-populated RunCommand or throws a SessionReaderError — never * returns undefined (wp/01 prevention). The trailing `_exhaustive: never` * triggers a compile-time check that every SessionSource value is handled. */ export declare function buildResumeCommand(source: SessionSource | undefined, sessionId: string, message: string): RunCommand; /** * Build the new-session command for `source`. Same exhaustiveness contract as * buildResumeCommand: every value either returns a RunCommand or throws. */ export declare function buildNewCommand(source: SessionSource | undefined, message: string, cwd?: string): RunCommand; export declare function canSend(source: SessionSource): boolean; //# sourceMappingURL=runners.d.ts.map