UNPKG

react-native-acoustic-connect-beta

Version:

BETA: React native plugin for Acoustic Connect

25 lines 1.47 kB
/******************************************************************************************** * Copyright (C) 2025 Acoustic, L.P. All rights reserved. * * NOTICE: This file contains material that is confidential and proprietary to * Acoustic, L.P. and/or other developers. No license is granted under any intellectual or * industrial property rights of Acoustic, L.P. except as may be provided in an agreement with * Acoustic, L.P. Any unauthorized copying or distribution of content from this file is * prohibited. ********************************************************************************************/ import type { AlertButton } from 'react-native'; /** * React hook for tracking custom dialog events * Provides utilities to track dialog show, dismiss, and button click events */ export declare const useDialogTracking: () => { generateDialogId: () => string; trackDialogShow: (dialogId: string, title: string, buttons?: AlertButton[]) => void; trackDialogDismiss: (dialogId: string, reason?: string) => void; trackDialogButtonClick: (dialogId: string, buttonText: string, buttonIndex: number) => void; trackDialogCustomEvent: (dialogId: string, eventName: string, values: Record<string, string | number | boolean>) => void; createTrackedButton: (dialogId: string, button: AlertButton, buttonIndex: number) => AlertButton; cleanup: () => void; }; export default useDialogTracking; //# sourceMappingURL=useDialogTracking.d.ts.map