declare module "single-spa-vue" { export default function singleSpaVue( opts: SingleSpaVueOpts ): SingleSpaVueLifecycles; type AppOptions = { el?: string | HTMLElement; data?: any; [key: string]: any; }; interface BaseSingleSpaVueOptions { appOptions: | AppOptions | (( opts: SingleSpaOptsVue2 | SingleSpaOptsVue3, props: object ) => Promise); template?: string; loadRootComponent?(): Promise; } type SingleSpaOptsVue2 = BaseSingleSpaVueOptions & { Vue: any; }; type SingleSpaOptsVue3 = BaseSingleSpaVueOptions & { createApp(appOptions: AppOptions): any; handleInstance?(instance: any, props: object): void | Promise; replaceMode?: boolean; }; type SingleSpaVueOpts = SingleSpaOptsVue2 | SingleSpaOptsVue3; type SingleSpaVueLifecycles = { bootstrap(singleSpaProps: SingleSpaProps): Promise; mount(singleSpaProps: SingleSpaProps): Promise; unmount(singleSpaProps: SingleSpaProps): Promise; update(singleSpaProps: SingleSpaProps): Promise; }; type SingleSpaProps = object; }