import { ComponentType } from "react";
import { ResultViewProps } from "@elastic/react-search-ui-views";
import { GraphNode } from "../../components/graph/GraphNode";
import { RelationsGraphOptions } from "../../components/graph/RelationsGraphOptions";
import { NodeTypes } from "@xyflow/react";
export declare function RelationsGraphModal({ isOpen, onOpenChange, nodes, resultView, options, dark, nodeTypes }: {
    isOpen: boolean;
    onOpenChange: (val: boolean) => void;
    nodes: GraphNode[];
    options?: RelationsGraphOptions;
    resultView: ComponentType<ResultViewProps>;
    /** @deprecated This property is deprecated and will be removed in the future. Dark mode is automatically enabled when any parent element has the `dark` class. */
    dark?: boolean;
    nodeTypes?: NodeTypes;
}): import("react/jsx-runtime").JSX.Element;
