import { type Spec } from 'vega'; import { type Layer, type Primitive, type Scene } from './scene'; declare const slots: readonly ["surface", "rule", "rect", "shape", "path", "symbol", "text"]; type Slot = typeof slots[number]; export declare const dataName: (layer: Layer, slot: Slot) => string; export declare function sceneData(scene: Scene): Map; export declare function vegaSpec(scene: Scene): Spec; /** * The scene as a PNG data URL, `scale` device pixels per CSS pixel. Needs a canvas, so it * works in a browser and not in plain Node. */ export declare function sceneToPNG(scene: Scene, scale?: number): Promise; export declare function sceneToSVG(scene: Scene): Promise; export {};