/** * Takes the name of a collection and returns its active index. * This function supports collectionName being a dot-separated string * of collection names for nested collections: * * e.g. collectionName being 'flights.people.documents' would return * the active index in the nested documents collection, or null if there * isn't one or the path is broken. * * @param {string} collectionName The name of the collection, or dot-separated path. * @param {object} data The top level formData object. * @returns The active index for the collection, or null if it doesn't exist. */ declare const getCollectionPageData: (collectionName: any, formData: any) => any; export default getCollectionPageData;