export interface SourceContextOptions { linesOfContext?: number; maxFrames?: number; } export interface SourceCodeLine { number: number; code: string; isFaultLine: boolean; } export interface SourceCodeFrame { file: string; absoluteFile?: string; line: number; column?: number; function?: string; isAsync?: boolean; isApplication: boolean; lines?: SourceCodeLine[]; } export interface StackAnalysisOptions { projectRoot?: string; sourceContext?: SourceContextOptions; } export declare function resolveSourceContextOptions(option: boolean | SourceContextOptions | undefined): SourceContextOptions | undefined; export declare function resolveStackAnalysisOptions(options: { projectRoot?: string; sourceContext?: boolean | SourceContextOptions; }): StackAnalysisOptions; export declare function analyzeStack(stack: string | undefined, options?: StackAnalysisOptions): SourceCodeFrame[] | undefined;