import { ViewModelInstance } from '@rive-app/canvas'; import { UseViewModelInstanceListResult } from '../types'; /** * Hook for interacting with list properties of a ViewModelInstance. * * @param path - Path to the property (e.g. "items" or "nested/items") * @param viewModelInstance - The ViewModelInstance containing the list property * @returns An object with the list length and manipulation functions */ export default function useViewModelInstanceList(path: string, viewModelInstance?: ViewModelInstance | null): UseViewModelInstanceListResult;