vega-lite
Version:
Vega-Lite is a concise high-level language for interactive visualization.
14 lines • 764 B
TypeScript
import type { SignalRef } from 'vega';
import { Config } from '../config.js';
import { LayoutSizeMixins, NormalizedSpec, TopLevelSpec } from '../spec/index.js';
import { AutoSizeParams, AutosizeType, TopLevel } from '../spec/toplevel.js';
import { NormalizerParams } from './base.js';
export declare function normalize(spec: TopLevelSpec & LayoutSizeMixins, config?: Config<SignalRef>): TopLevel<NormalizedSpec> & LayoutSizeMixins;
/**
* Normalize autosize and deal with width or height == "container".
*/
export declare function normalizeAutoSize(spec: TopLevel<NormalizedSpec>, sizeInfo: {
autosize: AutosizeType | AutoSizeParams;
} & LayoutSizeMixins, config?: Config): AutoSizeParams;
export type { NormalizerParams };
//# sourceMappingURL=index.d.ts.map