/**
 * Lightweight leveled logger.
 *
 * Reads `LOG_LEVEL` from the environment (via dotenv) and gates output
 * accordingly.  Supports the standard levels: error, warn, info, debug.
 *
 * Usage:
 *   import { createLogger } from '../../shared/logger.js';
 *   const log = createLogger('discord-gw');
 *   log.info('Connected');        // [2026-02-21 12:00:00] [INFO]  [discord-gw] Connected
 *   log.debug('Payload', data);   // only shown when LOG_LEVEL=debug
 *
 * The logger is lazily initialised so that `dotenv/config` has loaded the
 * .env file before the log level is read from `process.env`.
 *
 * Follows the same `createLogger(module)` pattern used in ../callboard.
 */
export interface Logger {
    error(message: string, ...args: unknown[]): void;
    warn(message: string, ...args: unknown[]): void;
    info(message: string, ...args: unknown[]): void;
    debug(message: string, ...args: unknown[]): void;
}
/**
 * Create a child logger with a fixed module label.
 *
 * @param module - Short identifier for the module (e.g., 'discord-gw', 'poll', 'webhook').
 */
export declare function createLogger(module: string): Logger;
//# sourceMappingURL=logger.d.ts.map