import { AssetDatapointLTTBQuery, AssetDatapointQueryUnion, AttributeRef } from "@openremote/model";
import { PropertyValues, TemplateResult } from "lit";
import { ChartAttributeConfig } from "@openremote/or-chart";
import { OrAssetWidget } from "../util/or-asset-widget";
import { AssetWidgetConfig } from "../util/widget-config";
import { WidgetManifest } from "../util/or-widget";
import "@openremote/or-chart";
export interface ChartWidgetConfig extends AssetWidgetConfig {
    attributeColors: [AttributeRef, string][];
    datapointQuery: AssetDatapointQueryUnion;
    attributeConfig?: ChartAttributeConfig;
    chartOptions?: any;
    showTimestampControls: boolean;
    defaultTimePresetKey: string;
    showLegend: boolean;
    showZoomBar: boolean;
    stacked: boolean;
}
export declare class ChartWidget extends OrAssetWidget {
    protected datapointQuery: AssetDatapointQueryUnion;
    protected _loading: boolean;
    protected widgetConfig: ChartWidgetConfig;
    static getManifest(): WidgetManifest;
    refreshContent(force: boolean): void;
    protected willUpdate(changedProps: PropertyValues): void;
    protected loadAssets(attributeRefs: AttributeRef[]): void;
    protected render(): TemplateResult;
    protected getDefaultQuery(): AssetDatapointLTTBQuery;
}
