import winston from "winston"; export type LoggerType = winston.Logger; export interface WinstonTelegramOption { host?: string; token: string; chatId: string; parseMode?: string; level?: string; disableNotification?: boolean; } export interface WinstonXOptions { logDir?: string; label?: string; debug?: boolean; telegram?: WinstonTelegramOption; transports?: []; logstash?: { port: number; level?: string; node_name: string; host: string; }; } export declare const formatMeta: (meta: any) => string; export declare function getTransports(opts?: Partial): any[]; export declare function createLogger(opts?: Partial): winston.Logger; export declare class WinstonX { static getLogger(category?: string, opts?: WinstonXOptions): LoggerType; }