import { Rive, StateMachineInput } from '@rive-app/canvas'; /** * Custom hook for fetching a stateMachine input from a rive file. * * @param rive - Rive instance * @param stateMachineName - Name of the state machine * @param inputName - Name of the input * @returns */ export default function useStateMachineInput(rive: Rive | null, stateMachineName?: string, inputName?: string, initialValue?: number | boolean): StateMachineInput | null;