The Premier has said it before, but now it is in writing - Queensland Labor will definitely, absolutely not be doing any deals with Pauline Hanson.

On Thursday, Premier Annastacia Palaszczuk produced a signed statutory declaration ruling out any deals with One Nation, tabling it in Parliament and challenging the opposition to do the same.

Premier Annastacia Palaszczuk has tabled a statutory declaration saying Labor will not do any deals with One Nation. Credit:AAP/Dan Peled

"I, Annastacia Palaszczuk, of Premier's office, 1 William Street in the State of Queensland do solemnly and sincerely declare that Labor will not enter into any deal, arrangement, power-sharing arrangement, or formal coalition with One Nation before and after the upcoming Queensland election," the stat dec reads.

"Labor will put One Nation last."