import type { appConfig, ISubScribeConfig } from './type'; import type { ACTION } from '../enum/ActionEnum'; /** * @param config appkey * @returns */ export declare const createApp: (config: appConfig) => { config: appConfig; localOrigin: any; dispatch: (action: ACTION, message: any) => any; subscribe: (action: ACTION, fn: Function, config?: ISubScribeConfig) => any; unsubscribe: (action: ACTION) => any; };