import { ReactNode } from 'react'; import { Edge, Node } from '@xyflow/react'; import { LayoutAlgorithm, LayoutDirection, LayoutEngine, ParentResizingOptions, useLayoutContext } from './LayoutContext'; interface LayoutProviderProps { children: ReactNode; initialDirection?: LayoutDirection; initialAlgorithm?: LayoutAlgorithm; initialAutoLayout?: boolean; initialPadding?: number; initialSpacing?: { node?: number; layer?: number; }; initialNodeDimensions?: { width?: number; height?: number; }; initialParentResizingOptions?: Partial; includeHidden?: boolean; layoutEngines?: Record; updateNodes?: (nodes: Node[]) => void; updateEdges?: (edges: Edge[]) => void; nodeParentIdMapWithChildIdSet?: Map>; nodeIdWithNode?: Map; noParentKey?: string; disableAutoLayoutEffect?: boolean; } export declare function LayoutProvider({ children, initialDirection, initialAlgorithm, initialAutoLayout, initialPadding, initialSpacing, initialNodeDimensions, initialParentResizingOptions, includeHidden, layoutEngines: customEngines, updateNodes, updateEdges, nodeParentIdMapWithChildIdSet: externalNodeParentIdMapWithChildIdSet, nodeIdWithNode: externalNodeIdWithNode, noParentKey, disableAutoLayoutEffect, }: LayoutProviderProps): import("react/jsx-runtime").JSX.Element; export { useLayoutContext };