import BranchViewController from '../../../viewController/branchViewController'; import { Direction } from '../../../common/constants/models'; import Bounds from '../../../utils/bounds'; import Position from '../../../utils/position'; declare enum LineFocusType { DIVER_LINE = "diverLine", ORDER_LINE = "orderLine", FOCUS_LINE = "focusLine" } declare const offsetPointCalcFnMap: { calcMapStructureStartPoint(parent: BranchViewController, child: BranchViewController): Position; calcSinusStartYPoint(parent: BranchViewController, child: BranchViewController): Position; }; export { LineFocusType, offsetPointCalcFnMap }; export declare const END_OFFSET = -1; export declare function getStartDirection(startBranch: BranchViewController, endBranch: BranchViewController): Direction.UP | Direction.DOWN | Direction.LEFT | Direction.RIGHT; export declare function getEndDirection(startBranch: BranchViewController, endBranch: BranchViewController): Direction; export declare function getLineFocusType(branch: BranchViewController): LineFocusType; export declare function getJointPosition(bounds: Bounds, dire: Direction): Position; export declare function calcUnderline(branch: BranchViewController): { x: number; y: number; }; export declare function relativePosToRealPos(relative: Position, branch: BranchViewController): Position; export declare function addPositionByDirection(pos: Position, dire: Direction, dx: number, dy?: number): Position; export declare function getFontSize(branch: BranchViewController): number; export declare function getUnits(branch: BranchViewController): { fontSize: number; lm: number; rm: number; tm: number; bm: number; lw: number; };