import { Selection } from 'd3-selection'; import { ContainerCore } from '../../core/container'; import { XYComponentCore } from '../../core/xy-component'; import { XYComponentConfigInterface } from '../../core/xy-component/config'; import { CoreDataModel } from '../../data-models/core'; import { XYContainerConfigInterface } from './config'; import { AreaConfigInterface, BrushConfigInterface, LineConfigInterface, ScatterConfigInterface, StackedBarConfigInterface, TimelineConfigInterface } from '../../components'; export type XYConfigInterface = XYComponentConfigInterface | StackedBarConfigInterface | LineConfigInterface | ScatterConfigInterface | BrushConfigInterface | TimelineConfigInterface | AreaConfigInterface; export declare class XYContainer extends ContainerCore { protected _defaultConfig: XYContainerConfigInterface; protected _svgDefs: Selection; datamodel: CoreDataModel; config: XYContainerConfigInterface; private _clipPath; private _clipPathId; private _axisMargin; private _firstRender; constructor(element: HTMLElement, config?: XYContainerConfigInterface, data?: Datum[]); get components(): XYComponentCore[]; get width(): number; get height(): number; setData(data: Datum[], preventRender?: boolean): void; updateContainer(containerConfig: XYContainerConfigInterface, preventRender?: boolean): void; updateComponents(componentConfigs: XYConfigInterface[], preventRender?: boolean): void; update(containerConfig: XYContainerConfigInterface, componentConfigs?: XYComponentConfigInterface[], data?: Datum[]): void; protected _preRender(): void; protected _render(customDuration?: number): void; private _updateScales; private _setScales; private _updateScalesDomain; private _updateScalesRange; private _renderAxes; private _setAutoMargin; private _getMargin; protected _onResize(): void; private _getBleed; destroy(): void; }