@mastra/core
Version:
9 lines • 714 B
TypeScript
export type EEEventName = 'ee_license_check' | 'ee_feature_used';
export type TelemetryEventName = EEEventName | 'mastra_model_token_usage';
export declare function isEETelemetryEnabled(): boolean;
export declare function hashTelemetryValue(value: string): string;
export declare function getEETelemetryFallbackDistinctId(): string;
export declare function captureTelemetryEvent(event: TelemetryEventName, distinctId: string | undefined, properties?: Record<string, unknown>): void;
export declare function captureEEEvent(event: EEEventName, distinctId: string | undefined, properties?: Record<string, unknown>): void;
export declare function resetEETelemetryForTests(): void;
//# sourceMappingURL=posthog.d.ts.map