import type * as Protocol from '../lib/front_end/generated/protocol.js'; export interface FormatStackTraceOptions { /** Maximum number of call frames to include before truncating. */ maxFrames?: number; /** Whether to print "--- async ---" between async fragments. Defaults to true. */ includeAsyncFragments?: boolean; /** Only show the topmost (synchronous) fragment, ignoring async parents. Defaults to false. */ syncOnly?: boolean; /** How to display frames with no URL. 'anonymous' (default) shows "", 'vm' shows "VM{scriptId}". */ locationFallback?: 'anonymous' | 'vm'; } /** Formats a Protocol.Runtime.StackTrace into a V8-style string (e.g. " at fn (url:line:col)"). */ export declare function formatStackTrace(stack: Protocol.Runtime.StackTrace, options?: FormatStackTraceOptions): string;