import { Optional } from '@ephox/katamari';
import { SugarElement } from '@ephox/sugar';
import * as Boxes from '../../alien/Boxes';
import * as CssPosition from '../../alien/CssPosition';
import * as Origins from '../layout/Origins';
import { Anchoring, NodeAnchor, SelectionAnchor } from './Anchoring';
declare const getBox: (left: number, top: number, width: number, height: number) => Optional<Boxes.BoxByPoint>;
declare const calcNewAnchor: (optBox: Optional<Boxes.BoxByPoint>, rootPoint: CssPosition.CssPositionAdt, anchorInfo: SelectionAnchor | NodeAnchor, origin: Origins.OriginAdt, elem: SugarElement<Element>) => Optional<Anchoring>;
export { getBox, calcNewAnchor };
//# sourceMappingURL=ContentAnchorCommon.d.ts.map