import { Tag } from '@malloydata/malloy-tag';
import { NestField } from '../../data_tree';
export interface ChartSizeConfig {
    width?: number;
    height?: number;
    preset?: string;
}
export interface ChartDisplayConfig {
    title?: string;
    subtitle?: string;
    size: ChartSizeConfig;
}
/**
 * Setup-time resolver for chart display tags (title, subtitle, size).
 *
 * Reads the `viz.title`, `viz.subtitle`, `viz.size.*` properties plus the
 * legacy top-level `size.*` fallback. Called from each chart plugin's
 * `create()` so the reads happen during `setResult()` — no tag access
 * needed at render time for these paths.
 */
export declare function resolveChartDisplayConfig(field: NestField, chartTag: Tag): ChartDisplayConfig;
