import type { LayoutData } from '../../../types.js'; type LayoutNode = NonNullable[number] & { swimlaneContentTop?: number; }; type Direction = 'LR' | 'RL'; export declare function applyBtDirectionTransform(layout: LayoutData): boolean; /** * How far the LR/RL transform stretches the flow axis: the diagram's own nodes' average * width over their average height, never below 1. Edge labels and groups do not count, so a * label cannot stretch the flow axis. Anchored nodes ride on their host and do not count either. */ export declare function flowAxisStretch(nodes: LayoutNode[]): number; export declare function applyLrDirectionTransform(layout: LayoutData, direction?: Direction): boolean; export {};