import type { ImportDiagnostic, RiveCoreObject, RiveStateMachineDescriptor } from '@flighthq/types/contract'; /** * Reads an artboard's state machines as plain data. * * The charter is explicit that Rive's state-machine *runtime* — inputs driving transitions — is a * separate future cell and never a codec concern, so this interprets nothing. It reports the states, * the transitions between them, and the inputs by name, and leaves what to do with them to whatever * consumes the descriptor. * * References keep the values the file states rather than being resolved into positions. Rive uses * several distinct id spaces — a component's parent, an interpolator, and an asset each index * something different — so a descriptor that guessed at a space would be worse than one that reports * what is written. */ export declare function createRiveStateMachines(objects: readonly Readonly[], range: Readonly<{ end: number; start: number; }>, diagnostics?: ImportDiagnostic[]): RiveStateMachineDescriptor[]; //# sourceMappingURL=riveStateMachine.d.ts.map