import type { QualificationPrivacyCapture } from './privacy.js'; export interface QualificationLifetimeCapture { /** Present when the operation resolved. */ result?: T; /** True when the operation threw; the error itself is not returned, only its captured text. */ threw: boolean; /** stdout, stderr and thrown-error observations for the whole operation, including empty ones. */ captures: QualificationPrivacyCapture[]; } /** * Captures what the process emits while `operation` runs: stream writes to * stdout/stderr, console output (which test runners may route around the * streams), and the text of a thrown error. Output still reaches the original * sinks. Captures are process-wide, so concurrent work in the same process is * captured too; run the qualification alone. Writes from child processes are * not captured and must be collected by the caller. */ export declare function captureQualificationLifetime(operation: () => Promise, options?: { suppressOutput?: boolean; }): Promise>; //# sourceMappingURL=capture.d.ts.map