/** Whether the user checked the "delete permanently" checkbox in the UI */ /**
 * Determines whether a delete operation should permanently remove documents or soft-delete them to trash.
 */ export function shouldPermanentlyDelete({ deletePermanently, hasDeletePermission, hasTrashPermission, isTrashView = false }) {
    return isTrashView || !hasTrashPermission || hasDeletePermission && deletePermanently;
}

//# sourceMappingURL=shouldPermanentlyDelete.js.map