import PageData from "./PageData"; import EventDispatcher from "../EventDispatcher"; interface PageManagerModel { dispatcher: EventDispatcher; PAGE_CHANGED: string; routerParamList: string; changePage: typeof changePage; returnPageURL: typeof returnPageURL; decodePageParams: typeof decodePageParams; getCurrentPage: typeof getCurrentPage; registerPage: typeof registerPage; lastPage: typeof lastPage; } declare var PageManager: PageManagerModel; declare function registerPage(page: PageData): void; declare function returnPageURL(targetPage: PageData, pageData?: any[]): string; declare function changePage(targetPage: PageData, pageData?: any[]): void; /**@description pass the constructor's props to the function and retrive parameters list */ declare function decodePageParams(props?: any): any[] | null; /**@return {PageData} */ declare function getCurrentPage(): PageData | null; declare function lastPage(): void; export default PageManager;