import type { Matrix } from '@flighthq/geometry/contract'; import type { ImportDiagnostic } from '@flighthq/importdiagnostics/contract'; import type { DisplayObject, Node2D } from '@flighthq/scene2d/contract'; import type { XmlElement } from '@flighthq/xml/contract'; import type { SvgDocumentImportOptions, SvgImportContext, SvgRegistry, SvgStyle } from './contract.scene2d-formats-types.ts'; export declare function appendSvgChildren(parent: DisplayObject, element: Readonly, parentStyle: Readonly, context: SvgImportContext): void; export declare function applySvgElementAppearance(target: Node2D, element: Readonly, parentStyle: Readonly, context: SvgImportContext, geometryTransform?: Readonly | null, hasVisualDescendants?: boolean): SvgStyle; /** * Dispatches an element's clipping to the registered clip family. * * ★ THE CORE LOOKS UP AND NOTHING ELSE. It does not read `clip-path`, does not measure the target and does not touch * `@flighthq/clip` — the handler does all of that — so a caller who registers no clip family links none of it, and an * element that would have been clipped is simply not. Every element is offered, because in SVG every element may carry * a clip. */ export declare function applySvgElementClipFamily(target: Node2D, element: Readonly, context: SvgImportContext): void; /** * The document core: XML validation, the import context, the ordered element walk, and the shared plumbing every * family reads. * * ★ IT TAKES THE REGISTRY AND NAMES NO DEFAULT. Five element interpretations used to live in this file; each now lives * in the module that owns it, and what is left is what more than one of them needs — the walk, the appearance pass, the * dispatch vocabulary, definition indexing and the unsupported-element reports. Resolving `undefined` to the full * family happens in `svgImport.ts`, so nothing here reaches a preset. */ export declare function createScene2DFromSvgDocumentWithRegistry(source: string, registry: Readonly, diagnostics?: ImportDiagnostic[], options?: Readonly): DisplayObject; export declare function createSvgElementNode(element: Readonly, parentStyle: Readonly, context: SvgImportContext): Node2D | null; export declare function reportRemainingUnsupportedSvgElements(element: Readonly, context: SvgImportContext, insideDefinitions?: boolean): void; //# sourceMappingURL=svgDocument.d.ts.map