import { LitElement } from 'lit'; /** Options bag accepted by `el.options = { ... }`. */ export interface LitGaugeOptions { size?: number; /** CSV string or numeric array of threshold boundaries. */ scaleValues?: string | number[]; /** CSV string or color array — length must be `scaleValues.length - 1`. */ scaleColors?: string | string[]; value?: number; fluidColors?: boolean; label?: string; /** Numeric divisor, CSV positions, or `"thresholds"`. */ ticks?: string | number; tickLabels?: string; minorTicks?: number; plain?: boolean; valuePrecision?: number; setDynamicOuterColor?: boolean; } export declare const px: (n: number | string) => string; /** * Snazzy Lit gauge web component for visualizing telemetry. * Prefer the `` tag; `` remains for compatibility. */ export declare class LitGauge extends LitElement { size: number; scaleValues: string; scaleColors: string; value: number; fluidColors: boolean; label: string; ticks: string | Array<{ d: number; v: number }>; tickLabels: string; minorTicks: number; plain: boolean; valuePrecision: number; setDynamicOuterColor: boolean; options: LitGaugeOptions; /** Set when scale/threshold parsing fails. */ errors: Array>; hasErrors: boolean; readonly min: number | undefined; readonly max: number | undefined; readonly spread: number | undefined; /** Maps a scale value to a needle rotation in degrees. */ readonly val2Deg: (v: number) => number; } /** Preferred custom element class (``). */ export declare class LiveGauge extends LitGauge {} declare global { interface HTMLElementTagNameMap { 'live-gauge': LiveGauge; /** @deprecated Use `live-gauge`. */ 'lit-gauge': LitGauge; } } export {};