import type { Router, RouteRecordRaw } from 'vue-router'; import Container from 'mini-ioc'; import type { AppProps } from './app.vue'; import TemplateEngine from './modules/template'; import FormFields from './modules/form/fields'; export { default as __dontUseThisThankYou__ } from './__import-all'; export interface IVueAdminConfig { lang: string; } export default class VueAdminApp { protected container: Container; protected router: Router; constructor(); protected registerTemplateHelpers(engine: TemplateEngine): void; protected registerFieldResolvers(formFields: FormFields): void; /** * Add route to the app Vue router instance. * @param route route definition */ addRoute(route: RouteRecordRaw): this; /** * Returns IoC container. This is the entry point for anything you wish to customize. */ getIocContainer(): Container; /** * Mount administration panel to a DOM element. * @param target CSS selector or DOM element */ mount(target: string | Element, props?: AppProps): this; }