UNPKG

555 BTypeScriptView Raw
1import type { DsnComponents, Event, EventEnvelope, SdkMetadata, Session, SessionAggregates, SessionEnvelope } from '@sentry/types';
2/** Creates an envelope from a Session */
3export declare function createSessionEnvelope(session: Session | SessionAggregates, dsn: DsnComponents, metadata?: SdkMetadata, tunnel?: string): SessionEnvelope;
4/**
5 * Create an Envelope from an event.
6 */
7export declare function createEventEnvelope(event: Event, dsn: DsnComponents, metadata?: SdkMetadata, tunnel?: string): EventEnvelope;
8//# sourceMappingURL=envelope.d.ts.map
\No newline at end of file