import type { Node } from '../types';
/**
 * Hook for receiving data of one or multiple nodes
 *
 * @public
 * @param nodeId - The id (or ids) of the node to get the data from
 * @param guard - Optional guard function to narrow down the node type
 * @returns An array od data objects
 */
export declare function useNodesData<NodeType extends Node = Node>(nodeId: string): NodeType['data'] | null;
export declare function useNodesData<NodeType extends Node = Node>(nodeIds: string[]): NodeType['data'][];
export declare function useNodesData<NodeType extends Node = Node>(nodeIds: string[], guard: (node: Node) => node is NodeType): NodeType['data'][];
//# sourceMappingURL=useNodesData.d.ts.map