/** * @typedef {Object} OdooEnv * @property {import("services").Services} services * @property {EventBus} bus * @property {string} debug * @property {(str: string) => string} _t * @property {boolean} [isSmall] */ /** * Return a value Odoo Env object * * @returns {OdooEnv} */ export function makeEnv(): OdooEnv; /** * Start all services registered in the service registry, while making sure * each service dependencies are properly fulfilled. * * @param {OdooEnv} env * @returns {Promise} */ export function startServices(env: OdooEnv): Promise; /** * Create an application with a given component as root and mount it. If no env * is provided, the application will be treated as a "root": an env will be * created and the services will be started, it will also be set as the root * in `__WOWL_DEBUG__` * * @param {import("@odoo/owl").Component} component the component to mount * @param {HTMLElement} target the HTML element in which to mount the app * @param {Partial[1]>} [appConfig] object * containing a (partial) config for the app. */ export function mountComponent(component: import('../odoo/owl').Component, target: HTMLElement, appConfig?: Partial[1]>): Promise; export type OdooEnv = { services: import('services').Services; bus: EventBus; debug: string; _t: (str: string) => string; isSmall?: boolean | undefined; };