import * as React from 'react'; import { IBarConfig } from './bar'; import { ICorrelationConfig } from './correlation/interfaces'; import { IHeatmapConfig } from './heatmap/interfaces'; import { IHexbinConfig } from './hexbin/interfaces'; import { BaseVisConfig, EFilterOptions, IPlotStats, VisColumn } from './interfaces'; import { ISankeyConfig } from './sankey/interfaces'; import { IScatterConfig } from './scatter/interfaces'; import { IViolinConfig } from './violin/interfaces'; export declare function useRegisterDefaultVis(visTypes?: string[]): void; export declare function EagerVis({ columns, selected, stats, statsCallback, colors, shapes, selectionCallback, filterCallback, setExternalConfig, closeCallback, showCloseButton, externalConfig, enableSidebar, showSidebar: internalShowSidebar, showDragModeOptions, setShowSidebar: internalSetShowSidebar, showSidebarDefault, scrollZoom, visTypes, uniquePlotId, showDownloadScreenshot, }: { /** * Required data columns which are displayed. */ columns: VisColumn[]; /** * Optional Prop for identifying which points are selected. Any ids that are in this array will be considered selected. */ selected?: string[]; /** * Optional Prop for changing the colors that are used in color mapping. Defaults to the Datavisyn categorical color scheme */ colors?: string[]; /** * Optional Prop for changing the shapes that are used in shape mapping. Defaults to the circle, square, triangle, star. */ shapes?: string[]; /** * Optional Prop which is called when a selection is made in the scatterplot visualization. Passes in the selected points. */ selectionCallback?: (s: string[]) => void; /** * Optional Prop for getting statistics for the current plot. */ stats?: IPlotStats; /** * Optional Prop which is called whenever the statistics for the plot change. */ statsCallback?: (s: IPlotStats | null) => void; /** * Optional Prop which is called when a filter is applied. Returns a string identifying what type of filter is desired. This logic will be simplified in the future. */ filterCallback?: (s: EFilterOptions) => void; setExternalConfig?: (config: BaseVisConfig) => void; closeCallback?: () => void; showCloseButton?: boolean; externalConfig?: IScatterConfig | IBarConfig | IHexbinConfig | ISankeyConfig | IHeatmapConfig | IViolinConfig | ICorrelationConfig | BaseVisConfig; enableSidebar?: boolean; showSidebar?: boolean; showDragModeOptions?: boolean; setShowSidebar?(show: boolean): void; showSidebarDefault?: boolean; scrollZoom?: boolean; /** * Optional property which enables the user to specify which vis types to show as options in the sidebar. If not specified, all vis types will be used. */ visTypes?: string[]; /** * Unique id for the visualization instance. It is currently used to identify the DOM element and download a screenshot of the plot. */ uniquePlotId?: string; /** * Optional property to show the download screenshot button in the sidebar. */ showDownloadScreenshot?: boolean; }): React.JSX.Element; //# sourceMappingURL=EagerVis.d.ts.map