import { App, Component } from 'vue'; import { HlwInstance } from './hlw'; import { RequestClient } from './utils/request'; /** * 创建 uni-app 应用入口与全局插件配置工具。 * * @example * ```ts * import { useApp } from '@hlw-uni/mp-vue'; * import App from './App.vue'; * import { createPinia } from 'pinia'; * * const app = useApp(); * app.use(createPinia()); * export const createApp = app.install(App); * ``` */ export declare function useApp(): { install: (AppComponent: Component) => () => { app: App; }; use: (pluginOrInstaller: any) => void; hlw: HlwInstance; request: RequestClient; };