import { SugarPosition } from '@ephox/sugar';
export interface CssPositionAdt {
    fold: <T>(screen: (point: SugarPosition) => T, absolute: (point: SugarPosition, sx: number, sy: number) => T) => T;
    match: <T>(branches: {
        screen: (point: SugarPosition) => T;
        absolute: (point: SugarPosition, sx: number, sy: number) => T;
    }) => T;
    log: (label: string) => void;
}
declare const sumAsFixed: (positions: CssPositionAdt[]) => SugarPosition;
declare const sumAsAbsolute: (positions: CssPositionAdt[]) => SugarPosition;
declare const screen: (point: SugarPosition) => CssPositionAdt;
declare const absolute: (point: SugarPosition, sx: number, sy: number) => CssPositionAdt;
export { sumAsFixed, sumAsAbsolute, screen, absolute };
//# sourceMappingURL=CssPosition.d.ts.map