/** * Gets the pageId from the invoked page action and calls onNavigate if it is * different to the currentPageId. * @param {object} action The invoked action. * @param {string} currentPageId The current pageId. * @param {Function} onNavigate The handler to call if the pageId is different to the currentPageId. * @param {object|undefined} state State to pass to the handler on change */ declare const navigate: (action: any, currentPageId: any, onNavigate: any, state?: undefined) => void; export default navigate;