import type { ImportDiagnostic, RiveCoreObject, RiveFileAsset } from '@flighthq/types/contract'; /** * Collects the file's assets in the order it declares them, which is also how they are addressed: * an image drawable's `assetId` is a position in this list, not the asset's own stated id. That was * settled against the corpus — reading it as a position resolves all 61 image references, and * reading it as the stated id resolves none. * * Bytes travel with the asset when the file embeds them and are handed over untouched. Turning them * into an image is a resource-layer concern, so this codec acquires nothing: a caller resolves what * it wants through the import options, exactly as the SVG and Lottie importers do. */ export declare function createRiveFileAssets(objects: readonly Readonly[], diagnostics?: ImportDiagnostic[]): RiveFileAsset[]; //# sourceMappingURL=riveAssets.d.ts.map