import { LEVEL_ENUM, Vertex, WebService, View, ActionOptions } from '..';
/**
 * 页面（入口页）类，后端路由控制
 * @category page
 */
export declare class Page extends Vertex {
    /**
     * 概念类型
     */
    readonly level: LEVEL_ENUM;
    /**
     * 页面 Id
     */
    readonly id: string;
    /**
     * 页面名称
     */
    readonly name: string;
    /**
     * 页面标题
     */
    readonly title: string;
    /**
     * 是否接入权限
     */
    readonly auth: boolean;
    /**
     * 是否为首页
     */
    readonly isIndex: boolean;
    /**
     * 根页面视图
     */
    readonly rootView: View;
    /**
     * 所属前端服务 Id
     */
    readonly serviceId: string;
    /**
     * 所属前端服务
     */
    readonly service: WebService;
    /**
     * 树组件的子节点字段
     */
    readonly childrenField: string;
    /**
     * 树组件的子节点字段
     */
    readonly moreChildrenFields: Array<string>;
    /**
     * @param source 需要合并的部分参数
     */
    constructor(source?: Partial<Page>);
    /**
     * 加载页面详情
     * @requires this.id
     */
    load(): Promise<void>;
    addData(res: any): void;
    /**
     * 添加页面
     */
    importPage(none?: void, actionOptions?: ActionOptions, then?: () => Promise<any>): Promise<this>;
    /**
     * 添加页面
     */
    create(none?: void, actionOptions?: ActionOptions, then?: () => Promise<any>): Promise<this>;
    /**
     * 删除页面
     */
    delete(none?: void, actionOptions?: ActionOptions): Promise<void>;
    /**
     * 修改页面
     */
    update(none?: void, actionOptions?: ActionOptions, then?: () => Promise<any>): Promise<this>;
    /**
     * 设为首页
     */
    setAsIndex(): Promise<void>;
    /**
     * 设置是否开启权限控制
     */
    setAuth(auth: boolean): Promise<void>;
    /**
     * 从后端 JSON 生成规范的 Param 对象
     */
    static from(source: any, service: WebService): Page;
}
export default Page;
