import type { TestStepResult, UndefinedParameterType } from '@cucumber/messages'; import type { SupportCodeLibrary } from '../../support_code_library_builder/types'; import type { IColorFns } from '../get_color_fns'; import type StepDefinitionSnippetBuilder from '../step_definition_snippet_builder'; import type { ITestCaseAttempt } from './event_data_collector'; export declare function isFailure(result: TestStepResult, willBeRetried?: boolean): boolean; export declare function isWarning(result: TestStepResult, willBeRetried?: boolean): boolean; export declare function isIssue(result: TestStepResult): boolean; export interface IFormatIssueRequest { colorFns: IColorFns; number: number; snippetBuilder: StepDefinitionSnippetBuilder; testCaseAttempt: ITestCaseAttempt; supportCodeLibrary: SupportCodeLibrary; printAttachments?: boolean; } export declare function formatIssue({ colorFns, number, snippetBuilder, testCaseAttempt, supportCodeLibrary, printAttachments, }: IFormatIssueRequest): string; export declare function formatUndefinedParameterTypes(undefinedParameterTypes: UndefinedParameterType[]): string; export declare function formatUndefinedParameterType(parameterType: UndefinedParameterType): string;