import * as React from 'react'; import { FieldEntry } from '@splunk/visualizations-shared/dataSourceUtils'; import type { VizAppearance } from '@splunk/visualizations-shared/themeUtils'; import { OnNodeClickType } from './PureLinkGraphUtils'; export interface OnNodeMouseoverPayload { anchor: HTMLElement; payload: Record; } export interface PureLinkGraphProps { appearance?: VizAppearance; mode?: string; backgroundColor?: string; columns?: any[]; fields?: string[] | null; height?: number; linkColor?: string; linkWidth?: number; nodeWidth?: number; nodeHeight?: number; nodeSpacingX?: number; nodeSpacingY?: number; nodeColor?: string; nodeTextColor?: string; nodeHighlightColor?: string; nodeTextHighlightColor?: string; resultLimit?: number; width?: number; showValueCounts?: boolean; showNodeCounts?: boolean; onNodeClick?: (arg0: OnNodeClickType) => void; onNodeMouseover?: (arg0: OnNodeMouseoverPayload) => void; fieldOrder?: string[]; metadataFields?: FieldEntry[]; metadataColumns?: string[][]; nodeLabelOverflow?: string; } export declare const PURE_LINK_GRAPH_DEFAULT_PROPS: { readonly mode: "view"; readonly fields: any; readonly columns: readonly []; readonly backgroundColor: "#0B0C0E"; readonly width: 1200; readonly height: 400; readonly nodeWidth: 180; readonly nodeHeight: 21; readonly nodeSpacingX: 32; readonly nodeSpacingY: 6; readonly linkWidth: 1; readonly linkColor: "#B5B5B5"; readonly nodeColor: "#1E2024"; readonly nodeTextColor: "#FFFFFF"; readonly nodeHighlightColor: "#7B56DB"; readonly nodeTextHighlightColor: "#FFFFFF"; readonly resultLimit: 50; readonly showValueCounts: true; readonly showNodeCounts: true; readonly onNodeClick: () => void; readonly fieldOrder: readonly []; }; export declare const getViewportScale: (element?: HTMLElement | null) => { x: number; y: number; }; export declare const PureLinkGraph: { (props: PureLinkGraphProps): any; displayName: string; }; declare const _default: React.ComponentType; export default _default; //# sourceMappingURL=PureLinkGraph.d.ts.map