import type { SessionData, SessionStatus } from "./orchestrator-panel-types.ts";
export declare const NODE_W = 36;
export declare const NODE_H = 4;
export declare const H_GAP = 6;
export declare const V_GAP = 3;
export declare const PAD = 3;
export interface LayoutNode {
    name: string;
    status: SessionStatus;
    parents: string[];
    error?: string;
    startedAt: number | null;
    endedAt: number | null;
    children: LayoutNode[];
    depth: number;
    x: number;
    y: number;
}
export interface LayoutResult {
    roots: LayoutNode[];
    map: Record<string, LayoutNode>;
    rowH: Record<number, number>;
    width: number;
    height: number;
}
export declare function computeLayout(sessions: SessionData[]): LayoutResult;
//# sourceMappingURL=layout.d.ts.map