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