import type { PrettyPrintOptions } from './../types/index.js'; import type { ErrorData } from '../capture-errors.js'; export declare const formatCapturedError: (failuresCount: number, options: PrettyPrintOptions) => ({ errorType, message, stack, spans, sources, isPlainString }: ErrorData, index: number) => string;