export type GaugeSize = 'sm' | 'md' | 'lg' | 'xl'; export type GaugeVariant = 'arc' | 'horseshoe' | 'ring'; export type GaugeTone = 'brand' | 'success' | 'warning' | 'danger' | 'info' | 'neutral'; export interface GaugeZone { /** Start of zone as fraction of range (0–1) */ at: number; color: string; label?: string; } interface GaugeProps { value?: number; min?: number; max?: number; /** Preset size; overridden by `diameter` when set */ size?: GaugeSize; /** Explicit diameter in px */ diameter?: number; strokeWidth?: number; variant?: GaugeVariant; tone?: GaugeTone; color?: string; trackColor?: string; zones?: GaugeZone[]; label?: string; description?: string; unit?: string; /** Text before the value, e.g. `$` */ prefix?: string; decimals?: number; showValue?: boolean; showNeedle?: boolean; showTicks?: boolean; showMinMax?: boolean; animated?: boolean; /** Soften zone arcs behind the value stroke */ showZones?: boolean; class?: string; } declare const Gauge: import("svelte").Component; type Gauge = ReturnType; export default Gauge;