Add a dropdown list of different page layout types.
Some pages have fixed headers, some have fixed footers, some have header and two columns, and so on. There are many page layout types.
Have a dropdown list on the artboard where you can pick a layout. If the artboard is not setup correctly then show a warning.
For example, if I select a layout with header, middle and footer and the artboard has 4 layers instead of 3 layers than show a warning on export.