/// import { SandBoxContext } from '@lingxiteam/types'; import { IPublicRendererRefParams } from '@lingxiteam/engine-render'; /** * pc引擎页面hooks * @param props */ declare const useDynamicPage: (props: DynamicPageProps, { provide }: { provide?: { set: (key: string, data: any) => void; delete: (key: string) => void; setRelation: (key: string, compId: string | string[]) => void; deleteRelation: (key: string, compId?: string | string[] | undefined) => void; get: (key: string) => any; getKeys: () => string[]; } | undefined; }) => { toggSpinLoading: (...args: any[]) => any; sandBoxContext: import("react").MutableRefObject; pageRefData: import("react").MutableRefObject; pageId: string; pageData: any; appInst: { pages: any[]; CF: any; appConfig?: import("@lingxiteam/types").PlatformAppConfig | undefined; watermarkInfo: import("@lingxiteam/types").appWaterMarkCfgType; checkPageIsExist: (targetId: string, targteType?: "id" | "url" | undefined) => boolean; checkPagePermission: (targetId: string, targteType?: "id" | "url" | undefined) => boolean; getPageInfo: (pageId: string, extendData: { sceneCode?: string | undefined; flowTraceRelId?: string | undefined; webComponent?: { isWebComponent?: boolean | undefined; openFieldsPropsMap?: Record | undefined; WebComponentContextKey: string; webComponentEventMap: Record; } | undefined; busiCompId?: string | undefined; pageType?: string | undefined; }, isFindPageRule?: boolean | undefined) => Promise; use: (pluginInstance: import("@lingxiteam/types").PluginInstanceType, injectKey?: string | undefined) => void; provide: (injectKey: string, data: unknown) => void; getGlobalProperty: (injectKey: string) => any; lcdpApi: any; singletonLcdpApi: any; dataState: import("@lingxiteam/types").dataStateCfgType; }; state: DynamicPageProps; urlParam: any; originUrlparam: any; extraData: any; sceneCode: string; routerData: any; pageWithPermission: any; pageIsExist: any; webComponentized: { openFieldsPropsMap: Record; callMethodWebComponent: (id: string, methodName: string, params: any[]) => void; webComponentContext: {}; isWebComponent: boolean; addWebComponentRelation: (setRelation?: ((key: string, compId: string | string[]) => void) | undefined) => void; webComponentEventMap: Record; preventDefault: boolean | undefined; }; attrDataMapNode: Record; }; export default useDynamicPage;