import { t as LoggerOptions } from "./types-Dtp1_OwC.mjs"; import { Attributes } from "@opentelemetry/api"; import Transport from "winston-transport"; //#region src/logger/winston.d.ts declare function parseWinstonLog(log: { level: string; message: string | Attributes; } & Attributes): { level: string; message: any; meta: { [attributeKey: string]: import("@opentelemetry/api").AttributeValue; }; }; type WinstonTransportOptions = LoggerOptions & { maxLevel?: string; getCustomMeta?: () => Attributes; }; declare class OTelWinstonTransport extends Transport { private readonly logger; private readonly getCustomMeta?; constructor(options: WinstonTransportOptions); log(info: { level: string; message: string | Attributes; } & Attributes, callback: () => void): void; close(): void; } //#endregion export { WinstonTransportOptions as n, parseWinstonLog as r, OTelWinstonTransport as t }; //# sourceMappingURL=winston-BmRwq75d.d.mts.map