/** * This function sets the data for a given collection in formData. * * This functions handles collectionName being a dot-separated string * by drilling down through each active entry in each parent collection. * * If at any point this path is broken because a collection in the chain * doesn't exist, then the missing collection is created and an active * entry is created. * * @param {string} collectionName The page's collection name. Can be dot-separated for nested collections. * @param {Array} newData The new data to set for the collection. * @param {Object} formData Top level formData object. */ declare const setCollectionPageData: (collectionName: any, newData: any, formData: any) => void; export default setCollectionPageData;