import { TransformOptions, GraphicsObject } from './types.js'; import 'transformation-matrix'; type LabelType = "points" | "lines" | "infiniteLines" | "rects" | "polygons" | "arrows"; type PngRenderOptions = TransformOptions & { includeTextLabels?: boolean | LabelType[]; backgroundColor?: string | null; pngWidth?: number; pngHeight?: number; }; declare function getPngBufferFromGraphicsObject(graphics: GraphicsObject, { includeTextLabels, hideInlineLabels, backgroundColor, pngWidth, pngHeight, ...transformOptions }?: PngRenderOptions): Promise; export { type PngRenderOptions, getPngBufferFromGraphicsObject };