export declare enum CodeGraphErrorCode { NOT_FOUND = "CODEGRAPH_NOT_FOUND", NOT_INITIALIZED = "CODEGRAPH_NOT_INITIALIZED", COMMAND_FAILED = "CODEGRAPH_COMMAND_FAILED", TIMEOUT = "CODEGRAPH_TIMEOUT", ABORTED = "CODEGRAPH_ABORTED", OUTPUT_TOO_LARGE = "CODEGRAPH_OUTPUT_TOO_LARGE" } export declare class CodeGraphError extends Error { readonly code: CodeGraphErrorCode; readonly remediation: string; readonly stderrTail?: string; constructor(code: CodeGraphErrorCode, message: string, remediation: string, stderrTail?: string); } /** * Formats an error into a clean, agent-actionable string without Node stack traces. */ export declare function formatToolError(error: unknown): string; //# sourceMappingURL=errors.d.ts.map