import type { WorkflowGraphModel } from "../workflow-graph-model";
import type { DagreLayoutConfig } from "../canvas-constants";
/**
 * Synchronous dagre layout that uses per-node dimensions from the visual
 * registry (T01). Produces a positioned `WorkflowGraphModel` suitable for
 * immediate rendering without a blank-canvas flash.
 *
 * This is the shared layout utility used by both the interactive canvas
 * editor (initial YAML parse) and the read-only execution graph.
 *
 * @param graph   The graph model to lay out.
 * @param config  Optional dagre spacing overrides. Defaults to {@link DAGRE_CONFIG}.
 */
export declare function applyDagreLayout(graph: WorkflowGraphModel, config?: DagreLayoutConfig): WorkflowGraphModel;
//# sourceMappingURL=apply-dagre-layout.d.ts.map