/** * Gets an action object that triggers the removal of an item from a page Collection. * * @param {object} page The page that the action belongs to. * @param {object} item The item in the collection that is being removed. * @param {function} onAction The onAction callback passed in to the CYA page from FormRenderer. * @param {string} labelCount The item's index in the collection plus one (for displaying to the user). * @param {object} action The action's config from the form definition. * @param {array} activeIds A list of active Ids that must be set to make Item the active entry. * @returns The resulting action object. */ declare const getCYACollectionDeleteAction: (page: any, item: any, onAction: any, labelCount: any, action: any, activeIds: any) => { pageId: any; fieldId: string; key: string; type: string; action: { onAction: () => void; label: string; }; }; export default getCYACollectionDeleteAction;