/** * Duplicates an entry with the given ID in the given collection, optionally * ignoring named fields or adding extras to the duplicate if they're provided. * * @param {string} collectionName The name of the collection the entry to duplicate is in. * @param {object} formData The top-level formData object. * @param {string} entryId The ID of the entry to duplicate. * @param {array} fieldsToIgnore An array of field names that shouldn't be copied to the duplicate. * @param {object} fieldsToAdd An object that will be spread to the new entry. * @returns The ID of the duplicate entry. */ declare const duplicateCollectionPageEntry: (collectionName: any, formData: any, entryId: any, fieldsToIgnore?: never[], fieldsToAdd?: {}) => string | null; export default duplicateCollectionPageEntry;