/** * Creates an Owl root for the given component using the provided app, mounts it * into a new container appended to the document body, and returns a cleanup * function that destroys the root and removes the container. * * @param {import("@odoo/owl").App} app * @param {typeof import("@odoo/owl").Component} ComponentClass the OWL component to mount * @param {Object} props * @returns {Function} cleanup function */ export function mountAutocompleteComponent(app: import('../../odoo/owl').App, ComponentClass: typeof import('../../odoo/owl').Component, props: Object): Function; export function isImageFile(file: any): Promise; /** * Converts a base64 SVG into a base64 PNG. * * @param {string|HTMLImageElement} src - an URL to a SVG or a *loaded* image * with such an URL. This allows the call to potentially be a bit more * efficient in that second case. * @returns {Promise} a base64 PNG (as result of a Promise) */ export function svgToPNG(src: string | HTMLImageElement): Promise; /** * Converts a base64 WEBP into a base64 PNG. * * @param {string|HTMLImageElement} src - an URL to a WEBP or a *loaded* image * with such an URL. This allows the call to potentially be a bit more * efficient in that second case. * @returns {Promise} a base64 PNG (as result of a Promise) */ export function webpToPNG(src: string | HTMLImageElement): Promise; /** * Generates a Google Maps URL based on the given parameter. * * @param {DOMStringMap} dataset * @returns {string} a Google Maps URL */ export function generateGMapLink(dataset: DOMStringMap): string; /** * Returns the parsed data coming from the data-for element for the given form. * * @param {string} formId * @param {HTMLElement} parentEl * @returns {Object|undefined} the parsed data */ export function getParsedDataFor(formId: string, parentEl: HTMLElement): Object | undefined; /** * Deep clones children or parses a string into elements, with or without *