import { NodeTypes } from "@xyflow/react";
import { ComponentType } from "react";
import "@xyflow/react/dist/style.css";
import { ResultViewProps } from "@elastic/react-search-ui-views";
import { GraphNode } from "../../components/graph/GraphNode";
import { RelationsGraphOptions } from "../../components/graph/RelationsGraphOptions";
/**
 * Renders an interactive graph for the specified results. Results will be fetched from cache via PID. Currently intended for internal use only.
 */
export declare function RelationsGraph(props: {
    nodes: GraphNode[];
    options?: RelationsGraphOptions;
    resultView: ComponentType<ResultViewProps>;
    dark?: boolean;
    nodeTypes?: NodeTypes;
}): import("react/jsx-runtime").JSX.Element;
