/** * Internal telemetry module for the B2C CLI and MCP server. Not part of the * public SDK surface — intentionally excluded from generated API documentation. * External consumers should not rely on this module's API stability. * * @module telemetry * @internal */ export type { TelemetryAttributes, TelemetryEventProperties, TelemetryOptions } from './types.js'; export { Telemetry } from './telemetry.js'; import { Telemetry } from './telemetry.js'; import type { TelemetryOptions } from './types.js'; /** * Factory function to create a Telemetry instance. * * @param options - Telemetry configuration options * @returns A new Telemetry instance * * @example * ```typescript * import { createTelemetry } from '@salesforce/b2c-tooling-sdk/telemetry'; * * const telemetry = createTelemetry({ * project: 'my-mcp-server', * appInsightsKey: process.env.APP_INSIGHTS_KEY, * version: '1.0.0', * initialAttributes: { environment: 'production' }, * }); * * await telemetry.start(); * telemetry.sendEvent('SERVER_STATUS', { status: 'started' }); * ``` */ export declare function createTelemetry(options: TelemetryOptions): Telemetry;