Server stores are contextual -- they are added to the context of the root component.
import { getStores, navigating, page, updated } from "$app/stores";
Returns all contextual stores. Must be called during component initialization. ==Only use this if you need to defer store subscription until after the component has mounted, for some reason.==
function getStores(): {
navigating: typeof navigating;
page: typeof page;
updated: typeof updated;
}
A readable store containing page data.
const page: Readable<Page>;