import { ID, Node } from '@antv/graphlib'; import type { Graph as IGraph, NodeData } from '../../types'; import type { DagreAlign } from '../types'; type Conflicts = Record>; export declare const findType1Conflicts: (g: IGraph, layering?: ID[][]) => {}; export declare const findType2Conflicts: (g: IGraph, layering?: ID[][]) => {}; export declare const findOtherInnerSegmentNode: (g: IGraph, v: ID) => Node; export declare const addConflict: (conflicts: Conflicts, v: ID, w: ID) => void; export declare const hasConflict: (conflicts: Conflicts, v: ID, w: ID) => boolean; export declare const verticalAlignment: (g: IGraph, layering: ID[][], conflicts: Conflicts, neighborFn: (v: ID) => Node[]) => { root: Record; align: Record; }; export declare const horizontalCompaction: (g: IGraph, layering: ID[][], root: Record, align: Record, nodesep: number, edgesep: number, reverseSep?: boolean) => Record; export declare const buildBlockGraph: (g: IGraph, layering: ID[][], root: Record, nodesep: number, edgesep: number, reverseSep?: boolean) => IGraph; export declare const findSmallestWidthAlignment: (g: IGraph, xss: Record>) => Record; export declare function alignCoordinates(xss: Record>, alignTo: Record): void; export declare const balance: (xss: Record>, align?: DagreAlign) => Record; export declare const positionX: (g: IGraph, options?: Partial<{ align: DagreAlign; nodesep: number; edgesep: number; }>) => Record; export declare const sep: (nodeSep: number, edgeSep: number, reverseSep: boolean) => (g: IGraph, v: ID, w: ID) => number; export declare const width: (g: IGraph, v: ID) => any; export {};