import type { Envelope } from '@cucumber/messages'; import type { ProgressOptions } from './types.js'; /** * Prints test progress as single-character status indicators * * @remarks * Outputs a character for each test step as they complete, providing a compact * real-time view of test progress. Characters are styled according to their status * (e.g. `.` for passed, `F` for failed etc). */ export declare class ProgressPrinter { private readonly stream; private readonly print; private readonly options; private readonly query; /** * Creates a new ProgressPrinter instance * * @param params - Initialisation object * @param params.stream - The stream being written to, used for feature detection * @param params.options - Options for the output */ constructor({ stream, options, }?: { stream?: NodeJS.WritableStream; options?: ProgressOptions; }); /** * Processes a Cucumber message envelope and prints if appropriate * * @param message - The Cucumber message envelope to process */ update(message: Envelope): void; private summarise; }