I realize I should provide more context of my question.
We specifically had some logic like this:
{sharedPost && <AmityPostDetailPage id={sharedPost.postId} commentId={sharedPost.commentId} />}
{useForum && !sharedPost && <AmityUiKitSocial />}
The issue was that using the AmityPostDetailPage component directly had none of the styling that the AmityUiKitSocial provided us.
By forcing the UI Kit to expose the pushPage, PageTypesvalues from useAmityNavigation, I was able to push a PageTypes.PostDetailPage page to the navigation and use the AmityUiKitSocial to display everything.
I suppose my request is related to another post of mine here, Navigation Controller for PostDetailPage - #4 by mqm - that the developer should have more control over manipulating the navigation.