import UIAnalyticsEvent from "../UIAnalyticsEvent.js"; export declare type UsePlatformLeafEventHandlerHookArgs = { fn: (value: T, analyticsEvent: UIAnalyticsEvent) => void; action: string; componentName: string; actionSubject?: string; packageName: string; packageVersion: string; analyticsData?: Record; }; export declare type UsePlatformLeafEventHandlerHook = (value: T) => void; export declare function usePlatformLeafEventHandler({ fn, action, componentName, actionSubject, packageName, packageVersion, analyticsData, }: UsePlatformLeafEventHandlerHookArgs): (value: T) => void;