import type { Area, BarShape, Shape } from "../fields.types.ts"; import type { MBox } from "./parts.ts"; /** The path of a box. */ export declare const boxD: (b: MBox) => string; /** A painted rectangle. */ export declare const rectArea: (id: string, feature: string, cls: Area["cls"], b: MBox) => Area; /** A painted ellipse. */ export declare const discArea: (id: string, feature: string, cls: Area["cls"], cx: number, cy: number, rx: number, ry?: number) => Area; /** A piece of tape: a filled rectangle in a colour of the budō marks. */ export declare const tapeBar: (id: string, feature: string, cls: NonNullable, b: MBox) => Shape; /** The path of a ring (a circle between two radii), filled by the even-odd rule. */ export declare const annulusD: (cx: number, cy: number, r0: number, r1: number) => string; /** A value held between two bounds. */ export declare const clamp: (v: number, lo: number, hi: number) => number; /** The number of a size option held to the range a rule allows. @throws TypeError for a value that is not a number, RangeError for one outside the range. */ export declare function within(value: unknown, lo: number, hi: number, label: string, rule: string): number;