import { Attachment, Feature, Location, Pickle, PickleStep, Rule, Scenario, Step, StepDefinition, TestStep, TestStepResult, TestStepResultStatus } from '@cucumber/messages'; import { Theme } from './types.js'; export declare const GHERKIN_INDENT_LENGTH = 2; export declare const STEP_ARGUMENT_INDENT_LENGTH = 2; export declare const ATTACHMENT_INDENT_LENGTH = 4; export declare const ERROR_INDENT_LENGTH = 4; export declare function ensure(value: T | undefined, message: string): T; export declare function indent(original: string, by: number): string; export declare function pad(original: string): string; export declare function unstyled(text: string): string; export declare function formatFeatureTitle(feature: Feature, theme: Theme, stream: NodeJS.WritableStream): string; export declare function formatRuleTitle(rule: Rule, theme: Theme, stream: NodeJS.WritableStream): string; export declare function formatPickleTags(pickle: Pickle, theme: Theme, stream: NodeJS.WritableStream): string | undefined; export declare function formatPickleTitle(pickle: Pickle, scenario: Scenario, theme: Theme, stream: NodeJS.WritableStream): string; export declare function formatPickleLocation(pickle: Pickle, location: Location | undefined, theme: Theme, stream: NodeJS.WritableStream): string; export declare function formatStepTitle(testStep: TestStep, pickleStep: PickleStep, step: Step, status: TestStepResultStatus, theme: Theme, stream: NodeJS.WritableStream): string; export declare function formatStepLocation(stepDefinition: StepDefinition | undefined, theme: Theme, stream: NodeJS.WritableStream): string | undefined; export declare function formatStepArgument(pickleStep: PickleStep, theme: Theme, stream: NodeJS.WritableStream): string | undefined; export declare function formatError(testStepResult: TestStepResult, theme: Theme, stream: NodeJS.WritableStream): string | undefined; export declare function formatAttachment(attachment: Attachment, theme: Theme, stream: NodeJS.WritableStream): string; //# sourceMappingURL=helpers.d.ts.map