import { GraphDataDef, ChartDataDef } from './data'; import { ChartBasis, GraphBasis } from './basis'; import { Component } from './component'; import { Interaction } from './interaction'; import { Layout } from './layout'; import { GraphLayer, ChartLayer } from './layer'; export declare type AntVSpec = CommonAntVSpec & (ChartAntVSpecDef | GraphAntVSpecDef); export declare type ChartAntVSpec = CommonAntVSpec & ChartAntVSpecDef; export declare type GraphAntVSpec = CommonAntVSpec & GraphAntVSpecDef; declare type CommonAntVSpec = { /** * URL of the schema */ $schema?: string; /** * Components definition such as Annotation */ component?: Component; interactions?: Interaction[]; }; declare type ChartAntVSpecDef = { basis: ChartBasis; data: ChartDataDef; layer: ChartLayer[]; }; declare type GraphAntVSpecDef = { basis: GraphBasis; data: GraphDataDef; layout: Layout; layer: GraphLayer[]; }; export * from './basis'; export * from './data'; export * from './mark'; export * from './encoding'; export * from './component';