Been there, done that (and I, personally, was okay in labour, didn't flashback, didn't panic, although some internal exams in the early stages were a little bit touch and go, definitely a bit of dissociation crept in). For me personally, a c-section would not have suited unless medically required (unable to move with people leaning over me, no thank you), but it could be a good option for you, depending on what you find triggering.
I did talk about it with the midwives, and I was advised to have a warning about it (in all caps, actually) at the top of my birth 'plan', including to avoid male staff if possible. Virtually my entire birth plan was my best guess at how to manage things if old memories and reactions started to rear their heads.
I was also advised to have my birth partner well-briefed on a 1-2 sentence summary he was to say to everyone who came near me (which he faithfully did), as well as him knowing the whole plan – if things start to move quickly, there might not be time for staff to read the whole thing.
I did have in mine that if certain things happened, I wanted as much space and as few people as was medically safe (if it had happened at a crisis point, then I wanted them to do what they had to do to help me/baby, and I'd work through the mental/emotional mess later). None of the midwives who read it before or during labour (I have two children) raised any concerns about that. I mostly got on with things myself (other than checks on baby), minimal touching and not even much talking most of it – they very much followed my lead on that.
Another thing to consider is if you mask pain or otherwise react to it in unusual ways – if so, tell them, it can affect their judgement of how you're progressing and how you're coping. I also found gas & air very effective for taking the edge off the pain, but I could feel it also made it easier to dissociate, so I had to be a bit careful how much I had.
I know I worried a lot about this in the lead up to my first – how anyone will cope with labour is a worrying unknown, and this is just a whole extra level – but I hope that you'll get the support that I did, and that ultimately, it will go well for you, as it did for me.