UNPKG

566 BTypeScriptView Raw
1import type { InternalBaseTransportOptions, Transport, TransportMakeRequestResponse, TransportRequestExecutor } from '@sentry/types';
2import type { PromiseBuffer } from '@sentry/utils';
3export declare const DEFAULT_TRANSPORT_BUFFER_SIZE = 30;
4/**
5 * Creates an instance of a Sentry `Transport`
6 *
7 * @param options
8 * @param makeRequest
9 */
10export declare function createTransport(options: InternalBaseTransportOptions, makeRequest: TransportRequestExecutor, buffer?: PromiseBuffer<void | TransportMakeRequestResponse>): Transport;
11//# sourceMappingURL=base.d.ts.map
\No newline at end of file