import { type AnalyticsHandler } from '../../index'; /** * Hook designed to use a handler if provided (ideally not) * Use this for the short-term to support deprecating `analyticsHandler`s that are being provided externally, * but fallback to the dispatch provided by `useAnalyticsEvents` * * In future, potentially use this hook to feature flag the channel we are dispatching to */ export declare const useDispatchAnalytics: (handler?: AnalyticsHandler) => { dispatchAnalytics: AnalyticsHandler; };