export interface StackFrame{functionName?:string;file?:string;line?:number;column?:number;internal:boolean;raw:string;}export interface StackGroup{message:string;frames:StackFrame[];} /** File-path substrings/patterns that mark a frame as framework/runtime noise by default -- * common Node/V8, browser, and Python standard-library/dependency locations. */ export declare const DEFAULT_INTERNAL_PATTERNS:readonly(string|RegExp)[]; /** Hard ceilings applied before parsing or rendering untrusted trace text. */ export declare const STACK_TRACE_LIMITS:Readonly<{bytes:number;lines:4000;groups:64;frames:2000;lineCharacters:8192;}>;export interface StackTraceParseOptions{ /** File-path substrings or patterns classified as framework/runtime frames. */ internalPatterns?:readonly(string|RegExp)[];}export interface StackTraceParseResult{groups:StackGroup[]; /** True when any byte, line, group, frame, or per-line ceiling omitted input. */ truncated:boolean; /** The bounded source projection suitable for the raw-rendering fallback. */ source:string;} /** * Purely parses a bounded JS/TS (V8, Firefox/Safari) or Python stack trace into * innermost-frame-first groups. Python mode requires an actual traceback header; a Python-looking * prose line inside a JavaScript trace cannot discard valid JS frames. The returned `source` is * the bounded text projection to use when `groups` is empty. */ export declare function parseStackTrace(trace:string,options?:StackTraceParseOptions):StackTraceParseResult;