import { ObservationMark, ObservationScene } from './observations-card'; export type Point = readonly [number, number]; export declare const fixed: (n: number) => number; export declare const xy: ([x, y]: Point) => string; export declare const polygon: (points: readonly Point[]) => string; export declare const clamp: (value: number | undefined, fallback: number, min: number, max: number) => number; export declare const identity: (...parts: (string | number)[]) => string; export declare const bad: (error: string) => ObservationScene; export declare const frame: (width: number, height: number) => { width: number; height: number; }; /** A sampled ribbon keeps a closed silhouette for both paint and pointer hit testing. */ export declare function ribbonMark(mark: Omit, 'x' | 'y' | 'width' | 'height' | 'shape'>, points: readonly Point[]): ObservationMark; export declare function bezier(a: Point, b: Point, c: Point, d: Point, steps?: number): Point[]; /** A constant-width ribbon around a polyline, with normals averaged at bends. */ export declare function strokeRibbon(points: readonly Point[], width: number): Point[]; export declare const tint: (color: string, percent: number) => string;