import { AssetDatapointIntervalQuery, AssetDatapointQueryUnion, AttributeRef } from "@openremote/model";
import { PropertyValues, TemplateResult } from "lit";
import { OrAssetWidget } from "../util/or-asset-widget";
import { AssetWidgetConfig } from "../util/widget-config";
import { WidgetManifest } from "../util/or-widget";
import "@openremote/or-attribute-barchart";
import { BarChartAttributeConfig, BarChartInterval } from "@openremote/or-attribute-barchart";
export interface BarChartWidgetConfig extends AssetWidgetConfig {
    attributeColors: [AttributeRef, string][];
    attributeSettings: BarChartAttributeConfig;
    datapointQuery: AssetDatapointQueryUnion;
    chartOptions?: any;
    showTimestampControls: boolean;
    defaultTimeWindowKey: string;
    defaultTimePrefixKey: string;
    defaultInterval: BarChartInterval;
    showLegend: boolean;
    stacked: boolean;
    decimals: number;
}
export declare class BarChartWidget extends OrAssetWidget {
    protected datapointQuery: AssetDatapointQueryUnion;
    protected _loading: boolean;
    protected widgetConfig: BarChartWidgetConfig;
    static getManifest(): WidgetManifest;
    refreshContent(force: boolean): void;
    protected willUpdate(changedProps: PropertyValues): void;
    protected loadAssets(attributeRefs: AttributeRef[]): void;
    protected render(): TemplateResult;
    protected getDefaultQuery(): AssetDatapointIntervalQuery;
}
//# sourceMappingURL=barchart-widget.d.ts.map