import type { TLayoutManagerDefinition } from "../../Builder/types/SurfaceDefinitions";
import { Rect } from "../../Core/Rect";
import type { Thickness } from "../../Core/Thickness";
import { ELayoutManagerType } from "../../types/LayoutManagerType";
import { ELayoutStrategyType } from "../../types/LayoutStrategyType";
import type { Size } from "../../types/Size";
import type { AxisBase2D } from "../Visuals/Axis/AxisBase2D";
import type { SciChartSurface } from "../Visuals/SciChartSurface";
import type { BaseAxisLayoutStrategy } from "./BaseAxisLayoutStrategy";
import type { BaseCenteredAxisLayoutStrategy, IInnerAxisLayoutStrategyOptions } from "./BaseCenteredAxisLayoutStrategy";
import { ChartLayoutState } from "./ChartLayoutState";
import { LayoutStrategyAxes } from "./LayoutStrategyAxes";
export type TOuterLayoutStrategyDefinition = {
    type: ELayoutStrategyType;
    options?: any;
    customType?: string;
};
export type TInnerLayoutStrategyDefinition = {
    type: ELayoutStrategyType;
    options?: IInnerAxisLayoutStrategyOptions;
    customType?: string;
};
/**
 * The options for a {@link LayoutManager}. Default layout strategies will be used if not provided.
 */
export interface ILayoutManagerOptions {
    LeftOuter?: BaseAxisLayoutStrategy | TOuterLayoutStrategyDefinition;
    RightOuter?: BaseAxisLayoutStrategy | TOuterLayoutStrategyDefinition;
    TopOuter?: BaseAxisLayoutStrategy | TOuterLayoutStrategyDefinition;
    BottomOuter?: BaseAxisLayoutStrategy | TOuterLayoutStrategyDefinition;
    LeftInner?: BaseCenteredAxisLayoutStrategy | TInnerLayoutStrategyDefinition;
    RightInner?: BaseCenteredAxisLayoutStrategy | TInnerLayoutStrategyDefinition;
    TopInner?: BaseCenteredAxisLayoutStrategy | TInnerLayoutStrategyDefinition;
    BottomInner?: BaseCenteredAxisLayoutStrategy | TInnerLayoutStrategyDefinition;
}
/**
 * The job of the ILayoutManager is to calculate the size and location of the axes and the resulting size of the seriesViewRect - the area where series will be drawn.
 * This is done by deferring to the LayoutStrategy for each area which could house axes.
 */
export declare class LayoutManager {
    type: ELayoutManagerType;
    /**
     * Layout strategy for layout of left aligned axis outside
     */
    protected leftOuterAxesLayoutStrategyProperty: BaseAxisLayoutStrategy;
    /**
     * Layout strategy for layout of right aligned axis outside
     */
    protected rightOuterAxesLayoutStrategyProperty: BaseAxisLayoutStrategy;
    /**
     * Layout strategy for layout of top aligned axis outside
     */
    protected topOuterAxesLayoutStrategyProperty: BaseAxisLayoutStrategy;
    /**
     * Layout strategy for layout of bottom aligned axis outside
     */
    protected bottomOuterAxesLayoutStrategyProperty: BaseAxisLayoutStrategy;
    /**
     * Layout strategy for layout of left aligned inner axis
     */
    leftInnerAxesLayoutStrategy: BaseCenteredAxisLayoutStrategy;
    /**
     * Layout strategy for layout of right aligned inner axis
     */
    rightInnerAxesLayoutStrategy: BaseCenteredAxisLayoutStrategy;
    /**
     * Layout strategy for layout of top aligned inner axis
     */
    topInnerAxesLayoutStrategy: BaseCenteredAxisLayoutStrategy;
    /**
     * Layout strategy for layout of bottom aligned inner axis
     */
    bottomInnerAxesLayoutStrategy: BaseCenteredAxisLayoutStrategy;
    sciChartSurface: SciChartSurface;
    protected chartLayoutState: ChartLayoutState;
    protected axesGroupedByLayoutStrategy: LayoutStrategyAxes;
    constructor(options?: ILayoutManagerOptions);
    get leftOuterAxesLayoutStrategy(): BaseAxisLayoutStrategy;
    set leftOuterAxesLayoutStrategy(value: BaseAxisLayoutStrategy);
    get rightOuterAxesLayoutStrategy(): BaseAxisLayoutStrategy;
    set rightOuterAxesLayoutStrategy(value: BaseAxisLayoutStrategy);
    get topOuterAxesLayoutStrategy(): BaseAxisLayoutStrategy;
    set topOuterAxesLayoutStrategy(value: BaseAxisLayoutStrategy);
    get bottomOuterAxesLayoutStrategy(): BaseAxisLayoutStrategy;
    set bottomOuterAxesLayoutStrategy(value: BaseAxisLayoutStrategy);
    getAxisLayoutStrategy(axis: AxisBase2D): BaseAxisLayoutStrategy;
    layoutChart(viewportSize: Size, padding?: Thickness): Rect;
    toJSON(): TLayoutManagerDefinition;
    protected measureLeftOuterAxes(): void;
    protected measureRightOuterAxes(): void;
    protected measureTopOuterAxes(): void;
    protected measureBottomOuterAxes(): void;
    protected measureLeftInnerAxes(): void;
    protected measureRightInnerAxes(): void;
    protected measureTopInnerAxes(): void;
    protected measureBottomInnerAxes(): void;
    protected groupAxesByLayoutStrategy(): void;
    protected layoutChartCenter(left: number, top: number, right: number, bottom: number): void;
    protected setSeriesViewRect(left: number, top: number, right: number, bottom: number): void;
    private createStrategy;
    protected resetAxes(axes: AxisBase2D[]): void;
}
