import { PropType } from "vue"; import { ImageExportUIOptions, PointXY, Surface, SvgExportUIOptions } from "@visuallyjs/browser-ui"; import { ExportControlsComponentProps } from "./definitions"; /** * Provides a component that offers buttons for export to SVG, PNG and/or JPG. */ export declare const ExportControlsComponent: { name: string; setup(props: ExportControlsComponentProps): { service: unknown; }; props: { surfaceId: { type: StringConstructor; }; showLabel: { type: BooleanConstructor; default: boolean; }; label: { type: StringConstructor; default: string; }; margins: { type: PropType; }; /** * Options for SVG exports. */ svgOptions: { type: PropType; }; /** * Options for image exports. */ imageOptions: { type: PropType; }; /** * Defaults to true. */ allowSvgExport: { type: BooleanConstructor; default: boolean; }; /** * Defaults to true. */ allowPngExport: { type: BooleanConstructor; default: boolean; }; /** * Defaults to true. */ allowJpgExport: { type: BooleanConstructor; default: boolean; }; }; methods: { loadSurface: (cb: (s: Surface) => any) => void; exportSVG: () => void; exportJPG: () => void; exportPNG: () => void; }; render(): import("vue").VNode; };