import type { ImportDiagnostic, RiveDocumentImportResult } from '@flighthq/types/contract'; /** * Imports a `.riv` into one display subtree per artboard. * * 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. Only components that are Nodes become display * objects; a Fill or a GradientStop is data belonging to the shape above it, not a node of its own. */ export declare function createScene2DFromRiveDocument(source: Readonly, diagnostics?: ImportDiagnostic[]): RiveDocumentImportResult; //# sourceMappingURL=riveScene2D.d.ts.map