Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
17 lines
770 B
Plaintext
17 lines
770 B
Plaintext
import type { Client } from './client';
|
|
import type { ClientOptions } from './types-hoist/options';
|
|
/** A class object that can instantiate Client objects. */
|
|
export type ClientClass<F extends Client, O extends ClientOptions> = new (options: O) => F;
|
|
/**
|
|
* Internal function to create a new SDK client instance. The client is
|
|
* installed and then bound to the current scope.
|
|
*
|
|
* @param clientClass The client class to instantiate.
|
|
* @param options Options to pass to the client.
|
|
*/
|
|
export declare function initAndBind<F extends Client, O extends ClientOptions>(clientClass: ClientClass<F, O>, options: O): Client;
|
|
/**
|
|
* Make the given client the current client.
|
|
*/
|
|
export declare function setCurrentClient(client: Client): void;
|
|
//# sourceMappingURL=sdk.d.ts.map |