/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import Component from '@glimmer/component'; import { Accessor, Encoding } from "../../../encoding"; import { Scale, ScaleLinear } from "../../../scale"; interface BarsArgs { data: any[]; x: Accessor; y0: Accessor; y: Accessor; width: Accessor; color: Accessor; xScale?: Scale; yScale?: Scale; widthScale?: Scale; colorScale?: Scale; borderRadius?: string; } interface BarDatum { x: number; y: number; width: number; height: number; datum: any; d?: string; } interface BarSeries { bars: BarDatum[]; fill?: string; cssClass?: string; } declare class Bars extends Component { get x(): Encoding; get y(): Encoding; get y0(): Encoding; get width(): Encoding; get color(): Encoding | undefined; get xScale(): Scale | ScaleLinear | import("../../../scale").ScaleIdentity; get yScale(): Scale | ScaleLinear | import("../../../scale").ScaleIdentity; get widthScale(): Scale | ScaleLinear | import("../../../scale").ScaleIdentity; get isStacked(): boolean; get categories(): undefined | any[]; get data(): any[]; get colorScale(): Scale | undefined; get useCSSClass(): boolean; get borderRadius(): import("../../../utils/css-four-prop-parse").FourProp | undefined; get bars(): BarDatum[] | BarSeries[]; } export { BarsArgs, BarDatum, BarSeries, Bars as default };