import type { ApiLoaderProperty } from '../types/utils.js'; import type { ManifestApi, ManifestElementAndApi } from '../types/base.types.js'; import type { UmbApi } from '../models/api.interface.js'; import type { UmbApiConstructorArgumentsMethodType } from './types.js'; import type { UmbControllerHost } from '../../controller-api/index.js'; /** * @param {UmbControllerHost} host - The controller host for this controller to be appended to * @param {ManifestApi} manifest - The manifest of the extension * @param {Array | UmbApiConstructorArgumentsMethodType} constructorArgs - The constructor arguments to pass to the API class * @param {ApiLoaderProperty} fallbackApi - A fallback API loader property to use if the manifest does not have one * @returns {Promise} - The API class instance */ export declare function createExtensionApi(host: UmbControllerHost, manifest: ManifestApi | ManifestElementAndApi, constructorArgs?: Array | UmbApiConstructorArgumentsMethodType | ManifestElementAndApi>, fallbackApi?: ApiLoaderProperty): Promise;