import type { TestStepResult } from '@cucumber/messages'; export declare function formatError(error: Error | string, filterStackTraces: boolean): Pick;