import type * as React from 'react'; type PageEventName = 'onLoad' | 'onShow' | 'onHide' | 'onReady' | 'onPullDownRefresh' | 'onReachBottom' | 'onPageScroll' | 'onShareAppMessage' | 'onShareTimeline' | 'onTitleClick' | 'onOptionMenuClick' | 'onPopMenuClick' | 'onPullIntercept' | 'onBack' | 'onKeyboardHeight' | 'onTabItemTap' | 'beforeTabItemTap' | 'onResize' | 'onUnload'; type AppEventName = 'onLaunch' | 'onShow' | 'onHide' | 'onError' | 'onShareAppMessage' | 'onShareTimeline' | 'onPageNotFound' | 'onUnhandledRejection' | 'onThemeChange'; export declare function createHostComponent
(name: string, props: Array ;
export declare function requirePluginComponent (pluginName: string): React.ComponentType ;
export declare function requirePlugin (pluginName: string): P;
export declare function usePageEvent(eventName: PageEventName, callback: (...params: any[]) => any): void;
export declare function useAppEvent(eventName: AppEventName, callback: (...params: any[]) => any): void;
declare const _default: any;
export default _default;