import { DSLQuery } from '@lingxiteam/dsl'; import { EditorPluginClass } from '../utils/plugin/EditorPlugin'; declare type PageDataProps = { DSLCore: DSLQuery | undefined; pages?: any[]; editorPluginInst: EditorPluginClass; }; declare type PageInfoProps = { defaultVersionId?: string; pageId?: string; pageInstDTO?: any; pageName?: string; pageDynamicFlag?: string; catalogItemId?: string; busiObjectExtServiceRels?: any; pagePath?: string; terminalType?: string; isSharedObject?: string; }; declare const usePageDetailData: (props: PageDataProps) => { pageDetailMap: { getSync: (pageInfo: PageInfoProps | string, isNew?: boolean) => any; getAsync: (pageInfo: PageInfoProps | string, isNew?: boolean) => Promise; clear: (pageId?: string) => void; }; pageUpdate: number; }; export default usePageDetailData;