import { Alignment, DaGraph } from '../types'; declare type Xs = Record; declare type Xss = Record; declare type Conflicts = Record>; declare type Layer = string[]; export declare function findType1Conflicts(g: DaGraph, layering: Layer[]): Conflicts; export declare function findType2Conflicts(g: DaGraph, layering: Layer[]): {}; export declare function findOtherInnerSegmentNode(g: DaGraph, v: string): string; export declare function addConflict(conflicts: Conflicts, v: string, w: string): void; export declare function hasConflict(conflicts: Conflicts, v: string, w: string): boolean; export declare function verticalAlignment(g: DaGraph, layering: Layer[], conflicts: Conflicts, neighborFn: (e: string) => string[]): { root: Record; align: Record; }; export declare function horizontalCompaction(g: DaGraph, layering: Layer[], root: Record, align: Record, reverseSep: boolean): Record; export declare function findSmallestWidthAlignment(g: DaGraph, xss: Xss): Record; export declare function alignCoordinates(xss: Xss, alignTo: Record): void; export declare function balance(xss: Xss, align: Alignment): Record; export declare function positionX(g: DaGraph): Record; export declare function sep(nodeSep: number, edgeSep: number, reverseSep: boolean): (g: DaGraph, v: string, w: string) => number; export declare function width(g: DaGraph, v: string): number; export {};