import type { XmlElement } from '@flighthq/xml/contract'; import type { SvgClipContext } from './contract.scene2d-formats-types.ts'; /** * The `clip-path` (and `mask`) handler: the whole of Flight's clipping, reachable only by registering it. * * ★ IT MEASURES ITS OWN TARGET. The bounding box `clipPathUnits="objectBoundingBox"` is defined against used to be * computed by every caller and passed in, which put `svgBounds` — and `@flighthq/shape`'s `getShapeBounds` behind it — * into a build that registered no clipping at all. The geometry family records its fill-only box in the context as it * draws, so the box is available here without the walk having to compute one for a clip that may never be asked for. */ export declare function svgPathClipHandler(context: SvgClipContext): void; export declare function usesSvgObjectBoundingBoxUnits(element: Readonly): boolean; //# sourceMappingURL=svgClip.d.ts.map