import { AntriConfig } from '../types.js'; export interface StackFrame { file: string; line: number; column?: number; functionName: string; isWorkspace: boolean; snippet?: string; } export interface TimeTravelFrame { offsetMs: number; label: string; activeFunction: string; scopeVariables: Record; memoryAllocationMb: number; status: 'normal' | 'warning' | 'fatal_crash' | 'post_patch_safe'; explanation: string; } export interface CrashZeroResult { success: boolean; replayed: boolean; fixed: boolean; verified: boolean; errorName: string; errorMessage: string; topFrame?: StackFrame; timeTravelFrames: TimeTravelFrame[]; rootCauseAnalysis: string; artifactId?: string; artifactHtmlUrl?: string; durationMs?: number; error?: string; } export declare class CrashZeroEngine { private config; private workingDir; constructor(config?: AntriConfig, customWorkingDir?: string); /** * Autonomous Production Crash Replay & Time-Travel Debugger Engine */ replayAndHeal(rawCrashInput: string, options?: { onProgress?: (status: string, stage: 'ingest' | 'parse' | 'replay' | 'patch' | 'artifact') => void; }): Promise; /** * Parses stack traces into structured frames and extracts code context if file exists */ parseStackTrace(input: string): { errorName: string; errorMessage: string; frames: StackFrame[]; }; /** * Synthesizes a multi-step millisecond time-travel state timeline */ private synthesizeTimeTravelFrames; /** * Generates the interactive Scrubbable Time-Travel Replay HTML Artifact */ private generateCrashZeroArtifactHtml; } //# sourceMappingURL=crashZero.d.ts.map