import type { ComponentClass, FunctionComponent } from 'react'; import type { Graph as GraphType, DefaultNode as DefaultNodeType, Link as LinkType, LinkProvidedProps, NodeProvidedProps } from './types'; export type GraphProps = { /** Graph to render nodes and links for. */ graph?: GraphType; /** Component for rendering a single Link. */ linkComponent?: FunctionComponent> | ComponentClass>; /** Component for rendering a single Node. */ nodeComponent?: FunctionComponent> | ComponentClass>; /** Top transform offset to apply to links and nodes. */ top?: number; /** Left transform offset to apply to links and nodes. */ left?: number; }; export default function Graph, Node = DefaultNodeType>({ graph, linkComponent, nodeComponent, top, left, }: GraphProps): import("react/jsx-runtime").JSX.Element | null; //# sourceMappingURL=Graph.d.ts.map