import type { WorkflowEdge, WorkflowNode } from "./types";
export interface LayoutResult {
    nodes: WorkflowNode[];
}
export interface LayoutOptions {
    direction?: "horizontal" | "vertical";
    nodeSpacing?: number;
    rankSpacing?: number;
    startX?: number;
    startY?: number;
    nodeWidth?: number;
    nodeHeight?: number;
}
export declare function applyLayout(nodes: WorkflowNode[], edges: WorkflowEdge[], options?: LayoutOptions): LayoutResult;
export declare function applyHorizontalLayout(nodes: WorkflowNode[], edges: WorkflowEdge[]): LayoutResult;
export declare function applyVerticalLayout(nodes: WorkflowNode[], edges: WorkflowEdge[]): LayoutResult;
//# sourceMappingURL=layout.d.ts.map