import type { DisplayObject, ImportDiagnostic, RiveArtboardGraph, RivePathRecord } from '@flighthq/types/contract'; /** * Applies each node's clipping shapes. * * The coordinate space is the whole problem here. A clipping shape names a *source* shape elsewhere * in the artboard, and that source's geometry sits in the source's own transform chain — while * Flight rasterizes a clip under the **clipped** node's transform. So the geometry has to cross from * one chain to the other: `inverse(clippedRelative) * sourceRelative` applied to the source's points. * Both chains are measured from the artboard root, whose own transform is common to the two and * therefore cancels, which is what keeps the artboard's pivot out of the arithmetic. */ export declare function applyRiveClipping(nodes: ReadonlyArray, artboard: Readonly, shapePaths: ReadonlyMap, diagnostics: ImportDiagnostic[] | undefined): void; //# sourceMappingURL=riveClipping.d.ts.map