import type { Trace } from "./types.d.ts"; /** * Formats a single parsed stack frame to a standard "at ..." line. */ export declare const formatStackFrameLine: (frame: Trace) => string; /** * Turns an array of parsed stack frames into a stack string. * Optionally include the "ErrorName: message" header as the first line. */ export declare const formatStacktrace: (frames: Trace[], options?: { header?: { message?: string; name?: string; }; }) => string;