/** * Gets a configuration object (or a string) for the hub. * * @param {string} type The type of the form. * @param {object} hub The configuration direct from the JSON. * @param {Array} components The top-level form components. * @param {object} formData The top-level form data. * * @returns: * undefined if the form type is not "hub-and-spoke", or; * The string "CYA" if the CYA screen should be used, or; * A page configuration object if the CYA screen should not be used and components are defined. */ declare const getFormHub: (type: any, hub: any, components: any, formData: any) => any; export default getFormHub;