import { SerializedNode, TextSerializedNode } from '../../types/serialized-node'; import { Gradient } from '../gradient'; export declare const markerDefaultAttributes: { markerStart: string; markerEnd: string; markerFactor: number; }; /** * No need to output default value in SVG Element. */ export declare const defaultAttributes: Record>; export declare function serializeNodesToSVGElements(nodes: SerializedNode[]): Promise; export declare function camelToKebabCase(str: string): string; /** * Use filter to create inner shadow. * @see https://stackoverflow.com/questions/69799051/creating-inner-shadow-in-svg * @example * ```html * * * * * * * * ``` */ export declare function exportInnerShadow(attributes: SerializedNode, element: SVGElement, $g: SVGElement): void; export declare function exportDropShadow(attributes: SerializedNode, element: SVGElement, $g: SVGElement): void; export declare function createOrUpdateMultiGradient(node: SerializedNode, $def: SVGDefsElement, gradients: Gradient[]): string; export declare function exportFillGradientOrPattern(node: SerializedNode, $el: SVGElement, $g: SVGElement): void; export declare function exportMarker(node: SerializedNode, $el: SVGElement, $g: SVGElement): void; export declare function exportClipOrMask(node: SerializedNode, $el: SVGElement, $g: SVGElement): Promise; export declare function exportRough(node: SerializedNode, $g: SVGElement): void; /** * use and to render text. * @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/text#example */ export declare function exportText(attributes: TextSerializedNode, $g: SVGElement, element: SVGElement): void; export declare function exportFillImage(node: SerializedNode, element: SVGElement, $g: SVGElement): Promise; export declare function isDataUrl(url: string): boolean; export declare function isUrl(url: string): boolean; export declare function toSVG($svg: SVGElement): string; export declare function toSVGDataURL($svg: SVGElement): string;