/** * 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 Top-level formData. * @returns The active index for the collection, or null if it doesn't exist. */ declare const getCollectionPageActiveIndex: (collectionName: any, formData: any) => any; export default getCollectionPageActiveIndex;