feature(main) exports: add mainSetHeader