import { PaintState, ReaderState } from "./read.js"; import { ParsedPathSubpath } from "./path.js"; import { AffineMatrix } from "./transform.js"; import { Box, Color, ContentStroke, ContentVector } from "document-schema.js"; //#region src/svg/read-geometry.d.ts declare function resolveStroke(state: ReaderState, paint: PaintState, ctm: AffineMatrix): ContentStroke | undefined; declare function resolvePaint(state: ReaderState, paint: PaintState, ctm: AffineMatrix): { readonly fill?: Color; readonly stroke?: ContentStroke; }; declare function boxOfPoints(points: readonly { readonly x: number; readonly y: number; }[]): Box; declare function axisAlignedFrame(ctm: AffineMatrix, x: number, y: number, width: number, height: number): Box; declare function similarityFrame(ctm: AffineMatrix, x: number, y: number, width: number, height: number): Box; declare function buildPathVector(state: ReaderState, subpaths: readonly ParsedPathSubpath[], ctm: AffineMatrix, paint: { readonly fill?: Color; readonly stroke?: ContentStroke; }, fillRule: "evenodd" | undefined): ContentVector | undefined; declare function roundedRectSubpaths(x: number, y: number, width: number, height: number, rx: number, ry: number): ParsedPathSubpath[]; declare function ellipseSubpaths(cx: number, cy: number, rx: number, ry: number): ParsedPathSubpath[]; //#endregion export { axisAlignedFrame, boxOfPoints, buildPathVector, ellipseSubpaths, resolvePaint, resolveStroke, roundedRectSubpaths, similarityFrame };