import React from 'react'; import { IAppAPI, IWebAuth } from '../types/web'; export type IWebAppAPI = IAppAPI; /** * @description 创建web下的app对象,对外暴露 * @param initData * @returns */ export declare function createWebApp(initData?: { [key: string]: any; }): IWebAppAPI; /** * @description 创建web下的app对象,对外暴露 */ export declare const app: IWebAppAPI; export declare const $w: {}; export declare const AppContext: React.Context<{}>; export declare function getWedaAPI(): { $app: any; app: any; $w: any; };