interface Logger {
    /** Checking this can be used to avoid constructing a large log message. */
    isLoggingEnabled(): boolean;
    log(message: string): void;
}
/**
 * Creates a .log file for this session, but also symlinks codex-cli-latest.log
 * to the current log file so you can reliably run:
 *
 * - Mac/Windows: `tail -F "$TMPDIR/oai-codex/codex-cli-latest.log"`
 * - Linux: `tail -F ~/.local/oai-codex/codex-cli-latest.log`
 */
export declare function initLogger(): Logger;
export declare function log(message: string): void;
/**
 * USE SPARINGLY! This function should only be used to guard a call to log() if
 * the log message is large and you want to avoid constructing it if logging is
 * disabled.
 *
 * `log()` is already a no-op if DEBUG is not set, so an extra
 * `isLoggingEnabled()` check is unnecessary.
 */
export declare function isLoggingEnabled(): boolean;
export {};
