import type { Rect } from "../../Core/Rect"; import { ELayoutManagerType } from "../../types/LayoutManagerType"; import type { Size } from "../../types/Size"; import type { ILayoutManagerOptions } from "./LayoutManager"; import { LayoutManager } from "./LayoutManager"; import type { SciChartVerticalGroup } from "./SciChartVerticalGroup"; import type { SciChartHorizontalGroup } from "./SciChartHorizontalGroup"; import { Thickness } from "../../Core/Thickness"; import type { AxisBase2D } from "../Visuals/Axis/AxisBase2D"; /** * An {@link ILayoutManager} used by {@link SciChartVerticalGroup} to synchronise Layout accross mutltiple SciChartSurfaces in a group */ export declare class SynchronizedLayoutManager extends LayoutManager { type: ELayoutManagerType; readonly id: string; verticalGroup: SciChartVerticalGroup | undefined; private lastLeftOuterAreaSize; private lastRightOuterAreaSize; horizontalGroup: SciChartHorizontalGroup | undefined; private lastTopOuterAreaSize; private lastBottomOuterAreaSize; constructor(verticalGroup?: SciChartVerticalGroup, horizontalGroup?: SciChartHorizontalGroup, options?: ILayoutManagerOptions); layoutChart(viewportSize: Size, padding?: Thickness): Rect; trySynchronizeLayouts(): void; protected measureLeftOuterAxes(): void; protected measureRightOuterAxes(): void; protected measureTopOuterAxes(): void; protected measureBottomOuterAxes(): void; /** * Returns the last visible axis in the array, or falls back to the last element when no visible axis exists. * Used so the group-width surplus is deposited on the outermost *visible* axis rather than * blindly on the last array element (which may be an isVisible=false axis with axisSize=0). */ protected findLastVisibleAxis(axes: AxisBase2D[]): AxisBase2D | undefined; }