export default domtoimage; declare namespace domtoimage { export { toSvg }; export { toPng }; export { toJpeg }; export { toBlob }; export { toPixelData }; export namespace impl { export { fontFaces }; export { images }; export { util }; export { inliner }; export const options: {}; } } declare function toSvg(node: any, options: any): Promise; /** * @param {Node} node - The DOM Node object to render * @param {Object} options - Rendering options, @see {@link toSvg} * @return {Promise} - A promise that is fulfilled with a PNG image data URL * */ declare function toPng(node: Node, options: Object): Promise; /** * @param {Node} node - The DOM Node object to render * @param {Object} options - Rendering options, @see {@link toSvg} * @return {Promise} - A promise that is fulfilled with a JPEG image data URL * */ declare function toJpeg(node: Node, options: Object): Promise; /** * @param {Node} node - The DOM Node object to render * @param {Object} options - Rendering options, @see {@link toSvg} * @return {Promise} - A promise that is fulfilled with a PNG image blob * */ declare function toBlob(node: Node, options: Object): Promise; /** * @param {Node} node - The DOM Node object to render * @param {Object} options - Rendering options, @see {@link toSvg} * @return {Promise} - A promise that is fulfilled with a Uint8Array containing RGBA pixel data. * */ declare function toPixelData(node: Node, options: Object): Promise; declare namespace fontFaces { export { resolveAll }; export namespace impl_1 { export { readAll }; } export { impl_1 as impl }; } declare namespace images { export { inlineAll }; export namespace impl_2 { export { newImage }; } export { impl_2 as impl }; } declare namespace util { export { escape }; export { parseExtension }; export { mimeType }; export { dataAsUrl }; export { isDataUrl }; export { canvasToBlob }; export { resolveUrl }; export { getAndEncode }; export function uid(): string; export { delay }; export { asArray }; export { escapeXhtml }; export { makeImage }; export { width }; export { height }; export { domIsBody }; export { getScrollTop }; export { getScrollLeft }; export { compressionBase64 }; export { splitImg }; } declare namespace inliner { export { inlineAll }; export { shouldProcess }; export namespace impl_3 { export { readUrls }; export { inline }; } export { impl_3 as impl }; } declare function resolveAll(): Promise; declare function readAll(): Promise; declare function inlineAll(node: any, options: any): any; declare function newImage(element: any): { inline: (get: any, options: any) => Promise; }; declare function parseExtension(url: any): string; declare function mimeType(url: any): any; declare function dataAsUrl(content: any, type: any): string; declare function isDataUrl(url: any): boolean; declare function canvasToBlob(canvas: any): Promise; declare function resolveUrl(url: any, baseUrl: any): string; declare function getAndEncode(url: any): Promise; declare function delay(ms: any): (arg: any) => Promise; declare function asArray(arrayLike: any): any[]; declare function escapeXhtml(string: any): any; declare function makeImage(uri: any): Promise; declare function width(node: any): any; declare function height(node: any): any; declare function domIsBody(node: any): boolean; declare function getScrollTop(): number; declare function getScrollLeft(): number; declare function compressionBase64(target: any, status: any): Promise; declare function splitImg(clone: any, parent: any, original: any): Promise; declare function inlineAll_1(string: any, baseUrl: any, get: any): Promise; declare function shouldProcess(string: any): boolean; declare function readUrls(string: any): string[]; declare function inline(string: any, url: any, baseUrl: any, get: any): Promise;