///
import type { Any, EmptyObject } from '@web-io/common/es/types';
/**
* @template MG Type of miniu global data.
* @template G Type of 小程序原生global data.
*/
declare type ICreateAppOptions = tinyapp.AppOptions & {
/**
* 默认全局对象,需要预设第一层 key,例如 defaultGlobalData: { user: {} }
*/
defaultGlobalData: MG;
};
/**
* Create miniu data app.
*
* @template MG Type of miniu global data.
* @template G Type of 小程序原生global data, 原生global data非响应式.
* @param options Create miniu data app options.
* @returns App instance.
*/
declare function createApp(options: ICreateAppOptions): tinyapp.AppOptions;
export default createApp;
export type { ICreateAppOptions };