import type { Client } from './client.js'; import { ToolsSuiteTelemetryClient } from '../../tooling-telemetry/index.js'; /** * Factory to get telemetry client instance. */ declare class ClientFactory { private static readonly clientMap; /** * Get singleton instance of default telemetry client for Azure app insights. * * @returns Telemetry client for Azure app insights */ static getTelemetryClient(): ToolsSuiteTelemetryClient; /** * Get singleton instance of telemetry client based on the generics type. Currently, we only support * telemetry client for Azure app insights. * * @param clientConstructor Class passed in as construtor function. Needs to be subclass of Client class * @returns Subclass of telemetry Client class */ static getTelemetryClientByClass(clientConstructor: new (appKey: string, extensionName: string, extensionVersion: string) => T): T; } export { ClientFactory }; //# sourceMappingURL=index.d.ts.map