import type { IncomingMessage } from "./types.js"; /** * Fields carried on every pipeline log line. * * Emitted as JSON appended to the message rather than through a logger interface of our own: Cloud * Logging and most aggregators parse embedded JSON into queryable fields, and it keeps the library * from dictating which logger a consumer uses. */ export interface EventLogFields { ceId?: string; ceType?: string; ceSource?: string; ceSubject?: string; deliveryAttempt: number; messageId: string; } export declare function eventLogFields(message: IncomingMessage): EventLogFields; /** Appends the event fields to a log message as JSON, dropping any that are absent. */ export declare function withEventFields(text: string, message: IncomingMessage): string; //# sourceMappingURL=logging.d.ts.map