import type { LogsConfig } from '../config/schema.js';
export interface LogEntry {
    level: 'info' | 'warn' | 'error';
    event: string;
    [key: string]: unknown;
}
export type ErrorCategory = 'auth' | 'permission' | 'rate_limit' | 'timeout' | 'network' | 'subprocess' | 'unknown';
export declare function initLogger(config: LogsConfig): void;
export declare function log(entry: LogEntry): void;
export declare function logError(context: Record<string, unknown>, err: unknown): void;
export declare function getLogDir(): string;
export declare function getTodayLogPath(): string;
export declare function logUncaught(source: 'uncaughtException' | 'unhandledRejection', err: unknown): void;
//# sourceMappingURL=logger.d.ts.map