import React from 'react'; import { AxisScale } from '@visx/axis'; import { StackPathConfig } from '@visx/shape'; import { AreaProps } from '@visx/shape/lib/shapes/Area'; import { SeriesProps } from '../../../types'; import { BaseAreaSeriesProps } from './BaseAreaSeries'; declare type AreaStackChildProps = Omit, 'PathComponent' | 'curve'>; export declare type BaseAreaStackProps = { /** `AreaSeries` elements, note we can't strictly enforce this with TS yet. */ children: React.ReactElement> | React.ReactElement>[]; /** Rendered component which is passed path props by BaseAreaStack after processing. */ PathComponent?: React.FC, 'ref'>> | 'path'; /** Sets the curve factory (from @visx/curve or d3-curve) for the line generator. Defaults to curveLinear. */ curve?: AreaProps['curve']; /** Whether to render a Line along value of the Area shape (area is fill only). */ renderLine?: boolean; } & Pick, 'offset' | 'order'> & Pick, 'onPointerMove' | 'onPointerOut' | 'onPointerUp' | 'onPointerDown' | 'onBlur' | 'onFocus' | 'enableEvents'>; declare function BaseAreaStack({ PathComponent, children, curve, enableEvents, offset, onBlur, onFocus, onPointerMove, onPointerOut, onPointerUp, onPointerDown, order, renderLine, }: BaseAreaStackProps): JSX.Element | null; export default BaseAreaStack; //# sourceMappingURL=BaseAreaStack.d.ts.map