/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import Component from '@glimmer/component'; import { CurveFactory } from 'd3-shape'; import { Scale, ScaleLinear } from "../../../scale"; import { Accessor, Encoding } from "../../../encoding"; import { CurveArgs } from "../../../utils/curves"; interface AreaArgs { data: any[]; x: Accessor; y: Accessor; y0: Accessor; color: Accessor; xScale?: Scale; yScale?: Scale; colorScale?: Scale; curve?: string | CurveArgs; defined?: (d: any) => boolean; } interface AreaSeries { d: string | null; fill?: string; cssClass?: string; } declare class Area extends Component { get x(): Encoding; get y(): Encoding; get y0(): Encoding; get color(): Encoding | undefined; get xScale(): Scale | ScaleLinear | import("../../../scale").ScaleIdentity; get yScale(): Scale | ScaleLinear | import("../../../scale").ScaleIdentity; get categories(): undefined | any[]; get isStacked(): boolean; get data(): any[]; get colorScale(): Scale | undefined; get useCSSClass(): boolean; get curve(): CurveFactory; get d(): string | AreaSeries[] | null; } export { AreaArgs, AreaSeries, Area as default };