/**
 * 统一日志模块
 *
 * 提供结构化日志输出，支持不同日志级别和格式化
 */
export type LogLevel = 'debug' | 'info' | 'warn' | 'error';
export interface LogConfig {
    level: LogLevel;
    prefix?: string;
    timestamp?: boolean;
}
/**
 * 日志器类
 */
export declare class Logger {
    private readonly level;
    private readonly prefix;
    private readonly timestamp;
    constructor(config?: LogConfig);
    private shouldLog;
    private formatMessage;
    debug(...args: unknown[]): void;
    info(...args: unknown[]): void;
    warn(...args: unknown[]): void;
    error(...args: unknown[]): void;
    /**
     * 创建子日志器
     */
    child(prefix: string): Logger;
}
export declare const logger: {
    debug: (...args: unknown[]) => void;
    info: (...args: unknown[]) => void;
    warn: (...args: unknown[]) => void;
    error: (...args: unknown[]) => void;
    child: (prefix: string) => Logger;
};
export declare function createLogger(prefix: string, config?: Partial<LogConfig>): Logger;
//# sourceMappingURL=logger.d.ts.map