import { type Optional } from '@ephox/katamari'; import type { SugarPosition } from '@ephox/sugar'; import * as Boxes from '../../alien/Boxes'; import type { AnchorBox } from './LayoutTypes'; export interface BoundsRestriction { readonly left: Optional; readonly right: Optional; readonly top: Optional; readonly bottom: Optional; } export declare const enum AnchorBoxBounds { RightEdge = 0, LeftEdge = 1, TopEdge = 2, BottomEdge = 3 } type BoundsRestrictionKeys = keyof BoundsRestriction; type Restriction = AnchorBoxBounds; export declare const boundsRestriction: (anchor: AnchorBox, restrictions: Partial>) => BoundsRestriction; export declare const adjustBounds: (bounds: Boxes.Bounds, restriction: BoundsRestriction, bubbleOffset: SugarPosition) => Boxes.Bounds; export {}; //# sourceMappingURL=LayoutBounds.d.ts.map