As long as there is no pain and suffering you can still give her quality of life which is what counts the most. I have been through this too many times and they are not any easier to deal with when it happens. This is what we get for being animal lovers.
RE: Finding out your doggo buddy is dying... it's not a nice feeling