import { type Edge, type Node } from '../../xyflow/react.ts';
export type LayoutDirection = 'BT' | 'LR' | 'RL' | 'TD';
export type LayoutAlgorithmOptions = {
    direction: LayoutDirection;
    spacing: [number, number];
};
export type LayoutAlgorithm = (nodes: Node[], edges: Edge[], options: LayoutAlgorithmOptions) => Promise<{
    nodes: Node[];
    edges: Edge[];
}>;
export declare const d3HierarchyLayout: LayoutAlgorithm;
//# sourceMappingURL=d3-layout.d.ts.map