declare type PageDetailsMapType = { getSync: (pageInfo: any, isNew?: boolean) => any; getAsync: (pageInfo: any, isNew?: boolean) => Promise; clear: (pageId?: string) => void; }; declare const usePageData: (temPageDetailsMap?: PageDetailsMapType) => { getPageVersionInst: (params: any) => Promise; getPageSearchParams: (pageId: string) => Promise; getCompStates: (pageId: string) => Promise; }; export default usePageData;