When a page is archived, it is not shown in the Confluence page tree, but, we still export it.
The confluence archived page is in BETA, but we should handle it.
I suppose you mean it to be beta in the Cloud as on the Server platform I found only the page restriction recommendation at https://confluence.atlassian.com/confeval/confluence-evaluator-resources/confluence-archiving-content