UNPKG

@formant/ava

Version:

A framework for automated visual analytics.

9 lines (8 loc) 519 B
import { InsightNarrativeStrategy } from './base'; import type { InsightType, Language, InsightInfo, ChangePointInfo } from '../../types'; import type { ParagraphSpec, Structure } from '../../../ntv/types'; export default class ChangePointNarrativeStrategy extends InsightNarrativeStrategy<ChangePointInfo> { static readonly insightType: InsightType; protected static structures: Record<Language, Structure[]>; generateTextSpec(insightInfo: InsightInfo<ChangePointInfo>, lang: Language): ParagraphSpec[]; }