export type EEEventName = 'ee_license_check' | 'ee_feature_used';
export type TelemetryEventName = EEEventName | 'mastra_model_token_usage' | 'mastra_model_token_usage_v2' | 'mastra_feature_usage';
export declare function isTelemetryEnabled(): 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;
/**
 * Sends the event right away and resolves once the request has finished, so callers
 * can wait for delivery before the process exits. Never rejects: PostHog retries
 * failed requests internally and reports what still fails through its own error
 * channel.
 */
export declare function captureTelemetryEventImmediate(event: TelemetryEventName, distinctId: string | undefined, properties?: Record<string, unknown>): Promise<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