UNPKG

614 BTypeScriptView Raw
1import { Client, ClientOptions } from '@sentry/types';
2/** A class object that can instantiate Client objects. */
3export declare type ClientClass<F extends Client, O extends ClientOptions> = new (options: O) => F;
4/**
5 * Internal function to create a new SDK client instance. The client is
6 * installed and then bound to the current scope.
7 *
8 * @param clientClass The client class to instantiate.
9 * @param options Options to pass to the client.
10 */
11export declare function initAndBind<F extends Client, O extends ClientOptions>(clientClass: ClientClass<F, O>, options: O): void;
12//# sourceMappingURL=sdk.d.ts.map
\No newline at end of file