import type { DisplayObject, Node2D } from '@flighthq/scene2d/contract'; import type { Texture } from '@flighthq/texture/contract'; /** * What an imported node is still waiting on from elsewhere in the file. * * An image drawable names an asset by position and a nested artboard names another artboard, and both * are resolved after the whole file has been read — an artboard can nest one declared after it. The * marks are kept in side tables rather than on the node, because a display object carries no * knowledge of the format that produced it; the document layer reads them back to build resource * references and slots and nothing else ever sees them. */ export declare function createRiveImageSprite(name: string, assetIndex: number): DisplayObject; /** The asset position an image sprite waits on, or -1 for a node that is not one. */ export declare function getRiveImageAssetIndex(node: Readonly): number; /** The texture an image sprite will bind its decoded asset into, or null for a node that is not one. */ export declare function getRiveImageTexture(node: Readonly): Texture | null; /** The artboard a nested-artboard site names, or -1 for a node that is not one. */ export declare function getRiveNestedArtboardIndex(node: Readonly): number; /** * Records a nested-artboard site so the document layer can turn it into a slot. Kept out of the node * itself: the display tree carries no knowledge of the format that produced it. */ export declare function markRiveNestedArtboard(node: Node2D, artboardIndex: number): void; //# sourceMappingURL=riveAssetBinding.d.ts.map