import type { Readable } from 'node:stream'; import { type Harness, type HarnessDetection } from './harness/harness-detect.js'; type PickSelection = Harness[] | 'cancel'; export interface PickResult { selection: PickSelection; mode: 'pick' | 'pick_numeric'; } type PickerStdin = Readable & { setRawMode?: (raw: boolean) => unknown; }; export interface PickerIo { stdin?: PickerStdin; write?: (text: string) => void; prompt?: (question: string) => Promise; } export declare function pickHarnesses(detections: HarnessDetection[], connectedBefore: ReadonlySet, io?: PickerIo): Promise; export {};