import { Command } from 'commander'; import type { CliOptions, MergeConfiguration } from '../types.js'; import { type OutputFormat } from './output-format.js'; export interface ReadOutputOptions { format: OutputFormat; output?: string; quiet?: boolean; } export declare function readCommand(program: Command, name: string, description: string, format?: OutputFormat): Command; export declare function readAction(command: Command, merge: MergeConfiguration, action: (options: CliOptions) => Promise): void; export declare function integerOption(min: number, max: number): (value: string) => number; export declare function timeoutOption(value: string): number; export declare function enumOption(values: readonly T[], value: string): T; /** Human summaries may be small; machine output always retains the original envelope. */ export declare function writeReadOutput(value: object, options: ReadOutputOptions, rows?: Record[], footer?: string): Promise; /** Sequential writes honor stdout/file backpressure and keep each stream event intact. */ export declare function writeReadStream(values: AsyncIterable, options: ReadOutputOptions): Promise; //# sourceMappingURL=investigation-output.d.ts.map