import { type ViewModelInstance, type ViewModelProperty } from '../specs/ViewModel.nitro'; /** * Base hook for all ViewModelInstance value-property interactions * (number, string, boolean, color, enum). * * Not used for triggers — see {@link useRiveTrigger} which manages its own * property lifecycle to avoid coupling callback identity to native disposal. * * @template P - The type of the property (e.g., ViewModelBooleanProperty) * @template T - The primitive type of the property value (number, boolean, string) * * @param viewModelInstance - The source ViewModelInstance * @param path - Property path in the ViewModelInstance * @param getProperty - Function to get the property from a ViewModelInstance * @returns A tuple containing [value, setter, error, property] */ export declare function useRiveProperty

(viewModelInstance: ViewModelInstance | null | undefined, path: string, getProperty: (vm: ViewModelInstance, path: string) => P | undefined): [ T | undefined, (value: T | ((prevValue: T | undefined) => T)) => void, Error | null, P | undefined ]; //# sourceMappingURL=useRiveProperty.d.ts.map