@formant/ava
Version:
A framework for automated visual analytics.
12 lines (11 loc) • 842 B
TypeScript
import { G2Spec } from '@antv/g2';
import { AugmentedMarks } from '../chart';
import { InsightInfo, InsightType, PatternInfo, PatternInfo2InsightInfoProps, SpecificInsightProps, SpecificInsightResult } from '../types';
export declare const patternInfo2InsightInfo: (props: PatternInfo2InsightInfoProps) => InsightInfo<PatternInfo>;
export declare const getAnnotationSpec: (insightInfo: InsightInfo<PatternInfo>) => AugmentedMarks;
export declare const getChartSpecWithoutAugmentedMarks: (insightInfo: InsightInfo<PatternInfo>, insightType: InsightType) => G2Spec;
export declare const filterValidInsightInfoForAnnotationSpec: ({ patternInfos, insightType, }: {
patternInfos: PatternInfo[];
insightType: InsightType;
}) => PatternInfo[];
export declare const getSpecificInsight: (props: SpecificInsightProps) => SpecificInsightResult;