import { AnalyticsMetadataResource } from '../types/resources/analytics_metadata'; export interface EventMetadata { [key: string]: string | number | boolean | null | undefined; } export declare const analyticsEvents: { readonly conversation_index_opened: "chat.mobile.conversations.index.opened"; readonly conversation_show_opened: "chat.mobile.conversations.show.opened"; readonly search_performed: "chat.mobile.search.performed"; readonly search_result_opened: "chat.mobile.search.result.opened"; }; type AnalyticsEventName = (typeof analyticsEvents)[keyof typeof analyticsEvents]; export declare const useProductAnalytics: () => { publishEvent: (name: AnalyticsEventName, meta?: EventMetadata) => Promise; publishEvents: (events: Array<{ name: AnalyticsEventName; meta?: EventMetadata; }>) => Promise; }; export declare function usePublishProductAnalyticsEvent(eventName: AnalyticsEventName, meta?: EventMetadata): void; export declare function normalizeAnalyticsMetadata(resource: { analyticsMetadata?: AnalyticsMetadataResource; }): Record; export {}; //# sourceMappingURL=use_product_analytics.d.ts.map