import { ClientReport } from './clientreport'; import { Event } from './event'; import { SdkInfo } from './sdkinfo'; import { Session, SessionAggregates } from './session'; import { TransactionSamplingMethod } from './transaction'; import { UserFeedback } from './user'; export declare type BaseEnvelopeHeaders = { [key: string]: unknown; dsn?: string; sdk?: SdkInfo; }; export declare type BaseEnvelopeItemHeaders = { [key: string]: unknown; type: string; length?: number; }; declare type BaseEnvelopeItem = [IH, P]; declare type BaseEnvelope> = [EH, I[]]; declare type EventItemHeaders = { type: 'event' | 'transaction'; sample_rates?: [{ id?: TransactionSamplingMethod; rate?: number; }]; }; declare type AttachmentItemHeaders = { type: 'attachment'; filename: string; }; declare type UserFeedbackItemHeaders = { type: 'user_report'; }; declare type SessionItemHeaders = { type: 'session'; }; declare type SessionAggregatesItemHeaders = { type: 'sessions'; }; declare type ClientReportItemHeaders = { type: 'client_report'; }; export declare type EventItem = BaseEnvelopeItem; export declare type AttachmentItem = BaseEnvelopeItem; export declare type UserFeedbackItem = BaseEnvelopeItem; export declare type SessionItem = BaseEnvelopeItem | BaseEnvelopeItem; export declare type ClientReportItem = BaseEnvelopeItem; declare type EventEnvelopeHeaders = { event_id: string; sent_at: string; }; declare type SessionEnvelopeHeaders = { sent_at: string; }; declare type ClientReportEnvelopeHeaders = BaseEnvelopeHeaders; export declare type EventEnvelope = BaseEnvelope; export declare type SessionEnvelope = BaseEnvelope; export declare type ClientReportEnvelope = BaseEnvelope; export declare type Envelope = EventEnvelope | SessionEnvelope | ClientReportEnvelope; export {}; //# sourceMappingURL=envelope.d.ts.map