/** @packageDocumentation * @module Zone */ import { RectangleProps } from "@bentley/ui-core"; import { WidgetZoneId } from "./Zones"; /** Zone properties used in [[ZonesManagerProps]]. * @beta */ export interface ZoneManagerProps { readonly allowsMerging: boolean; readonly id: WidgetZoneId; readonly bounds: RectangleProps; readonly isLayoutChanged: boolean; readonly floating?: ZoneManagerFloatingProps; readonly widgets: ReadonlyArray; } /** Floating zone properties used in [[ZoneManagerProps]]. * @beta */ export interface ZoneManagerFloatingProps { readonly bounds: RectangleProps; readonly stackId: number; } /** @internal */ export declare const getDefaultAllowsMerging: (id: WidgetZoneId) => boolean; /** @internal */ export declare const getDefaultZoneManagerProps: (id: WidgetZoneId) => ZoneManagerProps; /** @internal */ export interface ZoneWindowResizeSettings { hMode: "Minimum" | "Percentage"; hEnd: number; hStart: number; minHeight: number; minWidth: number; vMode: "Minimum" | "Percentage"; vEnd: number; vStart: number; } /** @internal */ export declare const getWindowResizeSettings: (zoneId: WidgetZoneId) => ZoneWindowResizeSettings; /** Class used to manage [[ZoneManagerProps]]. * @internal */ export declare class ZoneManager { windowResize: ZoneWindowResizeSettings; constructor(windowResize?: ZoneWindowResizeSettings); setAllowsMerging(allowsMerging: boolean, props: ZoneManagerProps): ZoneManagerProps; setBounds(bounds: RectangleProps, props: ZoneManagerProps): ZoneManagerProps; setIsLayoutChanged(isLayoutChanged: boolean, props: ZoneManagerProps): ZoneManagerProps; setFloatingProps(floating: ZoneManagerFloatingProps | undefined, props: ZoneManagerProps): ZoneManagerProps; setFloatingBounds(bounds: RectangleProps, props: ZoneManagerProps): ZoneManagerProps; } //# sourceMappingURL=Zone.d.ts.map