import { type ParsedEnvelope } from "../parser/index.js"; /** * Container for events that flow through the sidecar * Provides lazy parsing only when needed (in debug mode) */ export declare class EventContainer { private contentType; private data; private senderUserAgent?; private parsedEnvelope; private isParsed; constructor(contentType: string, data: Buffer, senderUserAgent?: string); /** * Get the content type of the event */ getContentType(): string; /** * Get the raw data buffer */ getData(): Buffer; /** * Get parsed envelope data (lazy parsing) */ getParsedEnvelope(): ParsedEnvelope; /** * Get a summary of the event types in this container * Returns null if not a parseable envelope */ getEventTypes(): string[] | null; /** * Get a formatted string of event types for logging */ getEventTypesString(): string; }