import type { ImportDiagnostic } from '@flighthq/importdiagnostics/contract'; import type { Shape } from '@flighthq/shape/contract'; import type { RiveArtboardGraph, RiveImportRegistry, RivePathRecord } from './contract.scene2d-formats-types.ts'; /** * Draws a shape's paths with no paint at all — the shape a caller gets when it imports geometry * without registering the paint family. * * Each path keeps its own winding, which is what a shape's fill rule would otherwise override, so the * figure still composites the way the file states it: a hole cut by an opposite-winding path stays a * hole. */ export declare function appendRiveShapeGeometry(shape: Shape, paths: readonly RivePathRecord[]): void; /** * Reads a Rive shape's paint and draws its paths under each one. * * A shape states a **list** of paints, not one of each kind, and every paint covers all of that * shape's paths. So each paint restates the whole path set in the order the file lists them, which * is what lets a second fill sit above the first instead of replacing it. */ export declare function appendRiveShapePaint(shape: Shape, artboard: Readonly, shapeIndex: number, paths: readonly RivePathRecord[], diagnostics?: ImportDiagnostic[] | undefined): void; /** * Registers shape paint: fills and strokes, the gradients and solid colours they are painted with, * the stops of those gradients, and the trim and dash effects a stroke carries. * * Every one of these is data belonging to the shape above it rather than a node, so they share one * handler; what they buy is the shape's paint list, which `appendRiveShapePaint` reads directly from * the object stream. */ export declare function registerRivePaintHandlers(registry: RiveImportRegistry): void; //# sourceMappingURL=riveShapePaint.d.ts.map