import { Formatter, IFormatterOptions } from '@cucumber/cucumber'; import * as messages from '@cucumber/messages'; import { ITestCaseAttempt } from '@cucumber/cucumber/lib/formatter/helpers/event_data_collector'; interface EnrichedStep { id: string; hookId?: string; pickleStepId?: string; stepDefinitionIds: readonly string[]; argument?: messages.PickleStepArgument; stepText: string; location: string; gherkinLocation?: string; logs?: messages.Attachment[]; testStepResult?: messages.TestStepResult; } interface EnrichedTestCase { id: string; name: string; tags: readonly messages.PickleTag[]; steps: readonly messages.PickleStep[]; astNodeIds: readonly string[]; testSteps: EnrichedStep[]; } declare class PrettyFormatter extends Formatter { private readonly indent; private readonly statusColors; private readonly statusIcons; private pickles; private testCases; private stepDefinitions; private runStatus; private readonly barChartLength; private totalTestCases; private readonly showLogs; private readonly showProgress; private readonly startTimestamp; private progressBar?; constructor(options: IFormatterOptions); processEnvelope(envelope: messages.Envelope): Promise; startTestRun(): void; readStepDefinition(envelope: messages.Envelope): void; readPickle(pickle: messages.Pickle): void; readTestCase(testCase: messages.TestCase): void; startTestCase(testCaseStarted: messages.TestCaseStarted): void; finishStep(testStepFinished: messages.TestStepFinished): void; finishTestCase(testCaseFinished: messages.TestCaseFinished): void; finishTestRun(): void; drawStep(step: EnrichedStep): string; drawDataTable(dataTable: messages.PickleTable): string; drawDocString(docString: messages.PickleDocString): string; updateRunStatus(testCase: EnrichedTestCase): void; hookKeyword(steps: messages.TestStep[], testStep: messages.TestStep): string; stepGherkinLocation(step: Pick, scenario: ITestCaseAttempt): string; formatDuration(ms: number): string; } export default PrettyFormatter; //# sourceMappingURL=formatter.d.ts.map