import type { ImportDiagnostic } from '@flighthq/importdiagnostics/contract'; import type { DisplayObject, Node2D } from '@flighthq/scene2d/contract'; import type { RiveArtboardGraph, RiveArtboardImportContext, RiveImportRegistry } from './contract.scene2d-formats-types.ts'; /** * Hides every child of a Solo but the one it names active. * * A Solo is a Node that shows exactly one of its children at a time — the variant switcher behind a * character's alternate limbs or a button's states. Without this it still imports as a plain node, so * all of its variants draw at once, stacked; that is a visible wrongness rather than a missing * feature, which is why it is applied rather than reported. * * The active child is named by a component index, verified against every Solo in the reference corpus: * all 9 resolve to a component whose parent is the Solo itself. */ export declare function applyRiveSolo(nodes: readonly (Node2D | null)[], artboard: Readonly, diagnostics?: ImportDiagnostic[]): void; /** A Solo is an ordinary container until the pass below hides the children it does not name. */ export declare function importRiveSoloComponent(context: RiveArtboardImportContext, index: number): DisplayObject | null; /** * Registers `Solo`, the node that shows one of its children at a time. * * Hiding runs as a pass because the active child is named by component index and may be read after * the Solo itself. Without this the node still imports, and every variant draws at once. */ export declare function registerRiveSoloHandlers(registry: RiveImportRegistry): void; //# sourceMappingURL=riveSolo.d.ts.map