/** * @typedef {{ * bus: EventBus; * debug: string; * services: import("services").Services; * readonly isSmall: boolean; * }} OdooEnv */ /** * 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 namespace customDirectives { function click(node: any, value: any, modifiers: any): void; } export namespace globalValues { export function click_1(ev: any, value: any, modifiers: any): void; export { click_1 as click }; } export type OdooEnv = { bus: EventBus; debug: string; services: import('services').Services; readonly isSmall: boolean; };