import { DataTree } from '../../../types/data-structures';
import { LayoutNode, MindMapError } from '../mind-map-types';
interface UseMindMapLayoutProps {
    data: DataTree;
    isValid: boolean;
    expandedNodeIds: Set<string>;
    onRenderComplete?: () => void;
    onError?: (error: MindMapError) => void;
    layoutMode?: 'radial' | 'vertical';
}
export declare function useMindMapLayout({ data, isValid, expandedNodeIds, onRenderComplete, onError, layoutMode, }: UseMindMapLayoutProps): {
    containerRef: import('react').RefObject<HTMLDivElement | null>;
    dimensions: {
        width: number;
        height: number;
    };
    layoutNodes: {
        nodes: LayoutNode[];
        links: import('../mind-map-types').Link[];
    };
    renderedNodes: (LayoutNode & {
        isExiting?: boolean;
    })[];
    offsetX: number;
    offsetY: number;
};
export {};
//# sourceMappingURL=useMindMapLayout.d.ts.map