import { Attributes } from '@opentelemetry/api'; import Transport from 'winston-transport'; import type { LoggerOptions } from './'; export declare const parseWinstonLog: (log: { message: string | Attributes; level: string; } & Attributes) => { level: string; message: string; meta: { [attributeKey: string]: import("@opentelemetry/api").AttributeValue | undefined; }; }; export type HyperDXWinstonOptions = LoggerOptions & { apiKey?: string; maxLevel?: string; getCustomMeta?: () => Attributes; }; export default class HyperDXWinston extends Transport { private readonly logger; private readonly getCustomMeta; constructor({ maxLevel, getCustomMeta, apiKey, ...options }: HyperDXWinstonOptions); log(info: { message: string | Attributes; level: string; } & Attributes, callback: () => void): void; close(): void; } //# sourceMappingURL=winston.d.ts.map