import type { Rectangle } from '@flighthq/geometry/contract'; import type { Node2D } from '@flighthq/scene2d/contract'; import type { SvgImportContext } from './contract.scene2d-formats-types.ts'; export declare function createSvgNode2DBounds(target: Node2D, context: SvgImportContext): Rectangle | null; /** * The geometry-only bounding box SVG's `objectBoundingBox` units are defined against. * * ★ THIS NAMES THE TEXT FAMILY'S NODE KINDS, AND ONLY ITS KINDS. Text bounds depend on a shaper the importer does not * run, so a subtree containing a label has no box and every `objectBoundingBox` consumer over it has to decline rather * than guess. That is a comparison against two kind constants from this package — it links no text reading — so a * build with no text family still answers the question correctly, by never meeting a label. */ export declare function hasUnmeasurableSvgText(target: Node2D): boolean; //# sourceMappingURL=svgBounds.d.ts.map