export function makeLegacyRpcService(legacyEnv: any): { start(env: any): void; }; /** * Returns a service that maps legacy dialogs * to new environment services behavior. * * @param {object} legacyEnv * @returns a wowl deployable service */ export function makeLegacyDialogMappingService(legacyEnv: object): { dependencies: string[]; start(env: any): void; }; /** * Deploys a service allowing legacy to add/remove commands. * * @param {object} legacyEnv * @returns a wowl deployable service */ export function makeLegacyCommandService(legacyEnv: object): { dependencies: string[]; start(env: any): void; }; export function makeLegacyDropdownService(legacyEnv: any): { dependencies: string[]; start(_: any, { ui, hotkey }: { ui: any; hotkey: any; }): void; }; export function makeLegacySessionService(legacyEnv: any, session: any): { dependencies: string[]; start(env: any): void; }; export function mapLegacyEnvToWowlEnv(legacyEnv: any, wowlEnv: any): void; export function cleanDomFromBootstrap(): void; export function makeLegacyNotificationService(legacyEnv: any): { dependencies: string[]; start(env: any, { notification }: { notification: any; }): void; }; export function makeLegacyCrashManagerService(legacyEnv: any): { dependencies: string[]; start(env: any): void; }; export function wrapSuccessOrFail(promise: any, { on_success, on_fail }?: { on_success: any; on_fail: any; }): any; export function makeLegacyRainbowManService(legacyEnv: any): { dependencies: string[]; start(env: any, { effect }: { effect: any; }): void; }; export function useLegacyRefs(): any; /** * This hook allows legacy owl Components to use services coming from the wowl env. * @param {string} serviceName * @returns {any} */ export function useWowlService(serviceName: string): any; export const wowlServicesSymbol: unique symbol;