import type { Node, NvlOptions, Relationship } from '@neo4j-nvl/base'; /** * The properties that can be passed to the StaticPictureWrapper component. */ export type StaticPictureWrapperProps = { /** The nodes to be displayed in the graph. */ nodes: Node[]; /** The relationships to be displayed in the graph. */ rels: Relationship[]; /** Options to customize the NVL instance. */ nvlOptions?: NvlOptions; /** The width of the static picture in pixels. */ width?: number; /** The height of the static picture in pixels. */ height?: number; /** The format of the static picture: 'png' or 'svg'. * Defaults to 'png'. */ format?: 'png' | 'svg'; }; /** * A React component that creates a static picture of a graph using NVL. * This component is useful for generating static visualizations of graphs without requiring user interaction. * The component automatically fits all nodes in the viewport before capturing the image * NVL is automatically destroyed after capturing the image to free up resources. * * @param props - The component properties * @returns An img element displaying the graph visualization, or null during rendering * * @example * ```tsx * * ``` */ export declare const StaticPictureWrapper: ({ nodes, rels, nvlOptions, width, height, format }: StaticPictureWrapperProps) => import("react/jsx-runtime").JSX.Element | null;