import * as React from 'react'; import type { VizAppearance } from '@splunk/visualizations-shared/themeUtils'; import { COLOR_MODE_TYPES, LABEL_DISPLAY_MODE_TYPE, SankeyColors } from './SankeyModels'; export declare const DEFAULT_COLORS: SankeyColors; export declare const NODE_TEXT_FONT_SIZE = 10; export declare const DEFAULT_FONT_FAMILY = "\"Splunk Platform Sans\", \"Proxima Nova\", \"Helvetica Neue\", Helvetica, Arial, sans-serif"; export declare const DEFAULT_NODE_COLOR = "#909090"; export declare const DEFAULT_LINK_COLOR = "#909090"; export declare const DEFAULT_SERIES_COLOR: any; export declare const DEFAULT_LINK_OPACITY = 0.5; export declare const DEFAULT_NODE_OPACITY = 1; export declare const INACTIVE_OPACITY = 0.05; export declare const ONE_CD_INACTIVE_OPACITY = 0.15; export declare const getInactiveOpacity: (isSplunk1cd: boolean) => number; export declare const CHART_MIN_WIDTH = 300; export declare const CHART_MIN_HEIGHT = 200; export declare const DEFAULT_CHART_WIDTH = 600; export declare const DEFAULT_CHART_HEIGHT = 300; export declare const DEFAULT_SOURCE_INDEX = 0; export declare const DEFAULT_TARGET_INDEX = 1; export declare const DEFAULT_LINK_VALUE_INDEX = 2; interface PureSankeyProps { appearance?: VizAppearance; columns?: (string[] | number[])[]; columnsFromDataSource?: (string[] | number[])[]; fields?: string[]; width?: string | number; height?: string | number; backgroundColor?: string; colorMode?: COLOR_MODE_TYPES; nodeWidth?: number; nodePadding?: number; resultLimit?: number; seriesColors?: string[]; labelDisplay?: LABEL_DISPLAY_MODE_TYPE; linkColors?: string[]; linkOpacity?: number; linkValueField?: string; nodeTextColor?: string; nodeValueColor?: string; unit?: string; onNodeClick?: (event: { type: string; payload: Record; }) => void; onLinkClick?: (event: { type: string; payload: Record; }) => void; } declare const PureSankey: ({ appearance, width, height, columns, columnsFromDataSource, fields, colorMode, nodeWidth, nodePadding, resultLimit, seriesColors, labelDisplay, linkColors, linkOpacity, linkValueField, backgroundColor, nodeTextColor, nodeValueColor, unit, onNodeClick, onLinkClick, }: PureSankeyProps) => React.JSX.Element; export default PureSankey; //# sourceMappingURL=PureSankey.d.ts.map