import { type ElementName, type ElementAttributes, type ElementContent } from './elements/index.js'; import type { BuilderLike } from './elements/element'; type NumericOrString = number | string; type ElementBuilderMethods = { [Name in ElementName]: (attrs?: ElementAttributes, content?: ElementContent) => T; }; export interface SVGBuilderInstance extends BuilderLike, ElementBuilderMethods { root: string; elements: string[]; closeTag(name: string): string; width(value: NumericOrString): SVGBuilderInstance; height(value: NumericOrString): SVGBuilderInstance; viewBox(value: string): SVGBuilderInstance; render(): string; buffer(): Uint8Array; reset(): SVGBuilderInstance; newInstance(): SVGBuilderInstance; } declare const svgBuilder: { create: () => SVGBuilderInstance; newInstance: () => SVGBuilderInstance; }; export default svgBuilder; //# sourceMappingURL=index.d.ts.map