import type { VisualizationOptions } from '../../types'; /** * SummaryConfig is a T8 Syntax string for narrative text visualization. * Supports markdown-like syntax with special annotations for metrics. * @example * ``` * # Sales Report * Total sales reached [¥1,234,567](metric_value, origin=1234567). * ``` */ export type SummaryConfig = string; /** * SummaryInstance represents a summary instance with render and destroy methods. */ export interface SummaryInstance { render: (syntax: SummaryConfig) => void; destroy: () => void; } /** * Summary component using @antv/t8 for narrative text visualization. * * This component provides a way to render data summaries with rich text formatting * and inline data visualization using T8 syntax (markdown-like syntax). * * @example * ```ts * const summary = Summary({ * container: '#container', * theme: 'light', * }); * * summary.render(` * # Sales Report * Total sales reached [¥1,234,567](metric_value, origin=1234567). * This represents a [15%](delta_value, status=increase) increase compared to last quarter. * `); * * summary.destroy(); * ``` */ export declare const Summary: (options: VisualizationOptions) => SummaryInstance;