import { Component, GenericComponent } from './components.mjs'; type RootSelector = { /** CSS selector for the application root element. Defaults to `#app`. */ selector: string; } | { /** Existing element to use as the application root. */ element: Element; }; type ApplicationOptions = RootSelector; /** * ## Initialize a new `application` * * By default expects an element of id `app` in the document body. * Use `options.selector` to specify a different CSS selector, * or `options.element` to pass an element directly. * * The application will replace the root element. */ declare function application(component: T, options?: ApplicationOptions): GenericComponent; export { application };