import type { DisplayObject, ImportDiagnostic, RiveArtboardGraph, RiveLayoutImport } from '@flighthq/types/contract'; /** * Translates each independent Rive layout root into the flat descriptors consumed by * `@flighthq/layout`. * * Rive's own runtime deliberately has separate `applyContainerStyle` and `applyItemStyle` passes. * This importer keeps the same boundary: every LayoutComponent's own style becomes its * `containerStyle`, while its sizing fields become the `itemStyle` interpreted by the descriptor's * parent. LayoutParticipant is attached to its parent display node rather than emitted as a phantom * target. Natural sizes remain absent by design; `RiveLayoutImport.targets` tells the caller what to * measure for the intrinsic-size buffer. */ export declare function createRiveLayoutImports(artboard: Readonly, nodes: ReadonlyArray, diagnostics?: ImportDiagnostic[]): RiveLayoutImport[]; //# sourceMappingURL=riveLayout.d.ts.map