import { ReactElement, SVGProps } from 'react'; /** Positive lightens toward white, negative darkens toward black, in oklab to keep chroma. */ export declare const shade: (color: string, amount: number) => string; /** * Gradient stops through `[offset, shade]` keys, eased between each pair. Linear ramps between * a few stops leave visible bands where the slope changes; smoothstep keeps every join soft. */ export declare function ramp(color: string, keys: readonly (readonly [number, number])[]): import("react/jsx-runtime").JSX.Element[]; /** Flat face colors for marks drawn in batches, where one gradient per shape would cost too much. */ export declare const prismShades: (color: string) => { front: string; top: string; side: string; }; /** Batched prism faces: every side, then every top, then every front, each in its own shade. */ export declare function PrismPaths({ batches, front, }: { batches: { sides: { entries(): { color: string; d: string; }[]; }; tops: { entries(): { color: string; d: string; }[]; }; fronts: { entries(): { color: string; d: string; }[]; }; }; /** Front paint for a color; defaults to the color itself. */ front?: (color: string) => SVGProps; }): ReactElement; /** A clip with headroom for the tops of marks drawn with depth. */ export declare function DepthClip({ clip, }: { clip: { id: string; x: number; y: number; width: number; height: number; }; }): ReactElement; export interface TubeLayer { strokeWidth: number; /** Shade applied to the band's color, as in `shade`. */ amount: number; transform: string; } /** * The cross-section of a band lit as a tube or a groove, as stacked strokes of its centerline: * the full width first, then ever narrower strokes moved toward the light. Every layer stays * inside the full stroke, round caps included, so the band's outline never changes: a ring, * arc, or progress track keeps its exact angle and length. * * A `tube` bulges toward the reader: a shaded rim, a lit crown, and a narrow highlight toward * the upper left. A `groove` is cut into the card: its upper-left wall is in shadow. */ export declare function tubeLayers(width: number, kind?: 'tube' | 'groove', /** Where the light falls from, as a unit vector; the upper left by default. */ light?: readonly [number, number]): TubeLayer[]; /** A soft shadow under a drawing lit from the upper left, lifting it off the card. */ export declare function DropShadow({ id, size, region, }: { id: string; size: number; /** * The area the shadow may cover, in the SVG's units. Defaults to a margin around the shape, * which is too tight for a thin, nearly flat line. */ region?: { x: number; y: number; width: number; height: number; }; }): ReactElement; /** * A line drawn as a lit tube: every layer of `tubeLayers` along one path. The centerline stays * the line's own path, so every point reads exactly where the flat line puts it. */ export declare function TubePath({ d, color, width, dasharray, opacity, pathLength, className, }: { d: string; color: string; width: number; dasharray?: string; opacity?: number; /** With `dasharray`, lets every layer draw along the line together, e.g. a loading pen. */ pathLength?: number; /** Set on every layer. */ className?: string; }): ReactElement; /** The width a line takes as a tube: wide enough for its light to read. */ export declare const tubeWidth: (lineWidth?: number) => number; /** * A lit sphere for any circle, mapped to the circle's own bounds: a highlight toward the upper * left, the series color through the middle, and shade at the far rim. */ export declare function SphereGradient({ id, color }: { id: string; color: string; }): ReactElement;