import { LitElement } from "lit";
import { Asset, Attribute, AttributeRef } from "@openremote/model";
import { GaugeOptions } from "gaugeJS";
export interface OrGaugeConfig {
    attributeRef?: AttributeRef;
    thresholds?: [number, string][];
    options?: GaugeOptions;
}
export declare class OrGauge extends LitElement {
    static get styles(): import("lit").CSSResult[];
    attrRef?: AttributeRef;
    asset?: Asset;
    assetAttribute?: [number, Attribute<any>];
    value?: number;
    decimals: number;
    unit?: string;
    min?: number;
    max?: number;
    thresholds?: [number, string][];
    readonly config?: OrGaugeConfig;
    realm?: string;
    protected loading: boolean;
    private gauge?;
    private gaugeSize?;
    private _gaugeElem;
    private _wrapperElem;
    private _detailsElem;
    private resizeObserver?;
    constructor();
    willUpdate(changedProps: Map<string, any>): void;
    updated(changedProperties: Map<string, any>): void;
    setupGauge(): void;
    getGaugeWidth(gaugeSize?: {
        width: number;
        height: number;
    }, includeLabelHeight?: boolean): string;
    shouldShowLabel(gaugeSize: {
        width: number;
        height: number;
    }): boolean;
    getLabelSize(width: number): "s" | "m" | "l" | "xl";
    render(): import("lit").TemplateResult<1>;
    loadData(attrRef: AttributeRef): Promise<void>;
    getDefaultConfig(): OrGaugeConfig;
}
//# sourceMappingURL=index.d.ts.map