import type { EntityConstruction } from '@flighthq/entity/contract'; import type { ImportDiagnostic } from '@flighthq/importdiagnostics/contract'; import type { RiveDocumentImportResult, RiveImportRegistry } from './contract.scene2d-formats-types.ts'; /** * Imports a `.riv` into one display subtree per artboard, reading exactly the core types `registry` * understands. * * A Rive file holds several artboards and names none of them "the" one, so import returns them side * by side and leaves the choice to the caller. What each object in the stream becomes is the * registry's answer rather than this function's: only a registered type contributes, and a type with * no handler is reported instead of quietly becoming an empty container. That is what lets a caller * import geometry without paint, or a document without its state machines, and pay for neither. */ export declare function createRiveDocumentImportResult(registry: RiveImportRegistry, source: Readonly, diagnostics?: ImportDiagnostic[]): RiveDocumentImportResult; export declare function initializeRiveDocumentImportResult(out: EntityConstruction, artboards: RiveDocumentImportResult['artboards'], assets: RiveDocumentImportResult['assets']): void; //# sourceMappingURL=riveScene2D.d.ts.map