/** * Truncate a log file to roughly {@link KEEP_SIZE} bytes if it exceeds * {@link MAX_LOG_SIZE}, cutting at the first newline so we don't start mid-line. */ export declare function truncateLogFile(logFile: string): void; /** * Set up debug logging. When {@link MASTRA_DEBUG} is `"true"`, redirects * `console.error` and `console.warn` to a log file (truncating it first if * oversized). Otherwise silences them to avoid corrupting the TUI. */ export declare function setupDebugLogging(): void; //# sourceMappingURL=debug-log.d.ts.map