import type { Node } from '../xyflow/react.ts';
import type { NodeManifest } from '../schema/node-definition';
import { type ContainerFitGeometry, type NodeDimensions } from '../utils/container';
export type NodeManifestResolver = (node: Node) => NodeManifest | undefined;
export interface NodeLayout {
    getNodeDimensions: (node: Node) => NodeDimensions;
    isContainerNode: (node: Node) => boolean;
    getContainerFitGeometry: (node: Node) => ContainerFitGeometry | null;
}
export interface CanvasNodeLayout extends NodeLayout {
    getManifestForNode: NodeManifestResolver;
}
export declare function useNodeManifestResolver(): NodeManifestResolver;
export declare function useCanvasNodeLayout(): CanvasNodeLayout;
//# sourceMappingURL=useCanvasNodeLayout.d.ts.map