/**
 * File-based logger that writes to ~/.shortcut/agent/logs/.
 *
 * All non-critical errors (trace uploads, background tasks, etc.) should use
 * this instead of console.error/console.warn to avoid polluting the TUI.
 */
export declare function getAgentLogPath(): string;
/**
 * Intercept Node.js process warnings (e.g. DEP0190) and route them to the
 * agent log instead of stderr, preventing TUI corruption.
 * Adding a listener suppresses Node's default stderr output for warnings.
 * Returns an unsubscribe function to restore default behaviour.
 */
export declare function interceptProcessWarnings(): () => void;
export declare const log: {
    error(tag: string, message: string, error?: unknown): void;
    warn(tag: string, message: string, error?: unknown): void;
    info(tag: string, message: string): void;
};
//# sourceMappingURL=agent-log.d.ts.map