import type { WebView, WebViewMessageEvent, WebViewNavigation } from 'react-native-webview'; type NavigationParams = { [x: string]: unknown | undefined; referenceDate?: string | number | Date; }; type DeepLinkRouteName = 'tiles/Today/Survey' | 'tiles/TrackTile' | 'social/PostDetails' | 'Home/YoutubePlayer'; export declare enum AppTileMessageType { deepLink = "deepLink", openUrl = "openUrl", openConsent = "openConsent" } export type DeepLinkDataType = { routeName: DeepLinkRouteName; params: NavigationParams; }; export type OpenUrlDataType = { url: string; title?: string; appendUtm?: boolean; }; export type DeepLinkAppletMessage = { type: AppTileMessageType.deepLink; data: DeepLinkDataType; }; export type OpenUrlAppletMessage = { type: AppTileMessageType.openUrl; data: OpenUrlDataType; }; export type OpenConsentAppletMessage = { type: AppTileMessageType.openConsent; }; export type AppTileMessage = DeepLinkAppletMessage | OpenUrlAppletMessage | OpenConsentAppletMessage; export declare const useHandleAppTileEvents: (webView?: WebView | null) => { handleAppTileMessage: (event: WebViewMessageEvent) => void; handleAppTileNavigationStateChange: (event: WebViewNavigation) => void; }; export {};