import { DSLQuery } from '@lingxiteam/dsl'; import BaseCmd from './Base/BaseCmd'; import { CreateCompWithDSLNodeParams } from '../template/createCompByNode'; interface PageProps { } declare type PageViewAttrType = Omit; export interface IPublicPageOptions { pageName: string; pagePath: string; catalogItemId?: string; labels?: any; pageViewAttr?: PageViewAttrType; rootAttr?: Record; } declare class Page extends BaseCmd { readonly isValidate: boolean; private platform; private pageContainerType?; /** * 创建各种页面的模板 * 返回DSLCore、pageNode */ constructor(isValidate?: boolean); private createRoot; private getDefaultPageStyle; private getDefaultPageProps; private createPageView; private createBlankPage; /** * 创建pc空白页面 */ createBlankPageWithPC(options: IPublicPageOptions): { DSLCore: DSLQuery; pageNode: import("@lingxiteam/dsl/lib/core/node/Node").default; }; /** * 创建移动端空白页面 */ createBlankPageWithH5(options: IPublicPageOptions): { DSLCore: DSLQuery; pageNode: import("@lingxiteam/dsl/lib/core/node/Node").default; }; /** * 创建PC空白弹窗页面 */ createBlankModal(options: IPublicPageOptions): { DSLCore: DSLQuery; pageNode: import("@lingxiteam/dsl/lib/core/node/Node").default; }; /** * 创建移动端空白弹窗页面 */ createBlankMobileModal(options: IPublicPageOptions): { DSLCore: DSLQuery; pageNode: import("@lingxiteam/dsl/lib/core/node/Node").default; }; /** * 创建移动端空白业务组件 */ createBlankBusiCompWithH5(options: IPublicPageOptions): { DSLCore: DSLQuery; pageNode: import("@lingxiteam/dsl/lib/core/node/Node").default; }; /** * 创建PC空白业务组件 */ createBlankBusiCompWithPc(options: IPublicPageOptions): { DSLCore: DSLQuery; pageNode: import("@lingxiteam/dsl/lib/core/node/Node").default; }; /** * 创建移动端空白气泡页面 */ createBlankMobilePopover(options: IPublicPageOptions): { DSLCore: DSLQuery; pageNode: import("@lingxiteam/dsl/lib/core/node/Node").default; }; /** * 创建PC端空白气泡页面 */ createBlankPopover(options: IPublicPageOptions): { DSLCore: DSLQuery; pageNode: import("@lingxiteam/dsl/lib/core/node/Node").default; }; /** * 创建PC端空白抽屉 */ createBlankDrawer(options: IPublicPageOptions): { DSLCore: DSLQuery; pageNode: import("@lingxiteam/dsl/lib/core/node/Node").default; }; } export default Page;