On iPhone, the edits to pictures and videos are just metadata and the original file is kept. I just tested recording a video, cutting it in half and downloading the file from iCloud. The cut file it's smaller than the iCloud reported size however if I choose to download the unmodified original the size matches the iCloud reported size.