/** * Debug logger for the ported Ink core. Writes to stderr only when * `CHATCODE_CLI_TUI_DEBUG` (or its legacy alias) is set, so normal runs stay quiet. * @param message - The message to log. * @param fields - Optional JSON-serialized fields appended to the line. */ export declare function logForDebugging(message: string, fields?: Record): void; /** * Mouse-chain diagnostics: appends below the ChatCode CLI TUI data root when * `CHATCODE_CLI_TUI_DEBUG_MOUSE` is set. Unlike logForDebugging (stderr), a file * keeps the fullscreen alt screen unpolluted and survives the session for * post-mortem reading. Every append is try/catch-guarded — diagnostics * must never take the UI down. * @param message - Stage name (e.g. 'mouse arrive', 'dispatchClick'). * @param fields - Optional JSON-serialized fields appended to the line. */ export declare function logMouseDebug(message: string, fields?: Record): void; //# sourceMappingURL=debug.d.ts.map