/// <reference types="react" />
import { Moco } from './Moco';
/**
 * 实例化page时的参数
 */
interface pageConfig {
    pagePath: string;
    component: React.ComponentClass<any>;
    model?: any;
    pageKey?: string;
    pageType?: string;
}
/**
 * 页面类
 */
declare class Page {
    pageId: string;
    pagePath: string;
    pageKey: string;
    pageType: string;
    component: React.ComponentClass<any>;
    dom: HTMLElement;
    moco: Moco;
    model: any;
    monitorHook: {
        [x: string]: (_page: Page) => void;
    };
    constructor(opts: pageConfig);
    /**
     * 监听器方法
     */
    monitor: (lifeCycleName: string, hook: (_page: Page) => {}) => void;
    /**
     * 页面创建的方法
     */
    onCreate(): void;
    /**
     * 页面暂停，挂起
     */
    onPause(): void;
    /**
     * 重新回到页面的方法
     */
    onResume(): void;
    /**
     * 销毁页面的方法
     */
    onDestroy(): void;
    /**
     * 创建dom
     */
    createDom(): void;
}
export default Page;
