If someone insists or promises something, you can say they “swear” it. Usually someone “swears” in support of an idea that is hard to believe.
My aunt swears she used to hear ghosts at night.
He swears nothing happened and that they’re just friends. I really don’t know.
Notice that you can use “that” before the clause, but in spoken English it’s not necessary.