UNPKG

@antv/t8

Version:

T8 is a text visualization solution for unstructured data within the AntV technology stack, and it is a declarative JSON Schema syntax that can be used to describe the content of data interpretation reports.

25 lines 711 B
import { NarrativeTextSpec } from '../schema/structure'; /** * T8 Clarinet Parser Result */ export interface T8ClarinetParseResult { document: Partial<NarrativeTextSpec>; isComplete: boolean; error?: string; currentPath: (string | number)[]; } /** * T8 Clarinet Parser */ export interface T8ClarinetParser { append: (chunk: string) => void; getResult: () => T8ClarinetParseResult; reset: () => void; getError: () => string | undefined; } /** * Create a new T8 Clarinet Parser instance * Handles streaming JSON parsing for T8 narrative text specifications */ export declare function createT8ClarinetParser(): T8ClarinetParser; //# sourceMappingURL=t8ClarinetParser.d.ts.map