import { LogTransportInterface, type LogRecord } from '../../common'; /** * File-based log transport for CLI mode. * * Follows the npm/pip pattern: always captures full verbosity to file * regardless of the console log level, so users can inspect server * activity after the fact without console noise. * * **Log location:** `~/.frontmcp/logs/{appName}-{ISO-timestamp}.log` * (configurable via `FRONTMCP_LOG_DIR` or `FRONTMCP_HOME`). * * **Format:** Plain text, no ANSI colors, one record per line: * ``` * [2026-04-06T12:34:56.789Z] INFO [FrontMcp.MultiAppScope] Scope ready — 3 apps * ``` * * **Rotation:** Count-based — keeps the most recent 25 log files * (configurable via `FRONTMCP_LOGS_MAX`; set to 0 to disable file logging). */ export declare class FileLogTransportInstance extends LogTransportInterface { private fd; private readonly logDir; private readonly appName; constructor(); /** Close the file descriptor. Call during shutdown to prevent handle leaks. */ close(): void; log(rec: LogRecord): void; /** Remove oldest log files when count exceeds max (npm-style rotation). */ private rotate; } //# sourceMappingURL=instance.file-logger.d.ts.map