import { type ViewModelInstance } from '../specs/ViewModel.nitro'; import type { UseRiveTriggerResult, UseViewModelInstanceTriggerParameters } from '../types'; /** * Hook for interacting with trigger ViewModel instance properties. * * Manages its own property lifecycle (separate from useRiveProperty) because * triggers take a user callback whose identity may change across renders. * Storing the callback in a ref avoids coupling it to native property disposal. * * @param path - The path to the trigger property * @param viewModelInstance - The ViewModelInstance containing the trigger property * @param params - Optional parameters including onTrigger callback * @returns A trigger function and any error */ export declare function useRiveTrigger(path: string, viewModelInstance?: ViewModelInstance | null, params?: UseViewModelInstanceTriggerParameters): UseRiveTriggerResult; //# sourceMappingURL=useRiveTrigger.d.ts.map