/** * Sets up the state of the form, including the current page and the Check your answers screen. * @param {string} pageId The current page identifier. * @param {Array} pages All of the pages in the form. * @param {object} hub The hub, if there is one. * @returns The current state of the form. */ declare const getFormState: (pageId: any, pages: any, hub: any) => { pageId: any; cya: { title: string; hideChangeActions?: undefined; hideGroupActions?: undefined; } | { title?: undefined; hideChangeActions?: undefined; hideGroupActions?: undefined; } | { title: any; hideChangeActions: any; hideGroupActions: any; } | undefined; page: any; }; export default getFormState;