import { ViewModelInstance } from '@rive-app/canvas'; import { UseViewModelInstanceImageResult } from '../types'; /** * Hook for interacting with image properties of a ViewModelInstance. * * @param path - Path to the image property (e.g. "profileImage" or "group/avatar") * @param viewModelInstance - The ViewModelInstance containing the image property * @returns An object with a setter function */ export default function useViewModelInstanceImage(path: string, viewModelInstance?: ViewModelInstance | null): UseViewModelInstanceImageResult;