export { getPageContextClientSerialized };
export { getPageContextClientSerializedAbort };
export { getGlobalContextClientSerialized };
export type { PageContextSerialization };
import type { PageConfigRuntime } from '../../../shared/page-configs/PageConfig.js';
import type { UrlRedirect } from '../../../shared/route/abort.js';
type PageContextSerialization = {
    pageId: string;
    routeParams: Record<string, string>;
    _passToClient: string[];
    _pageConfigs: PageConfigRuntime[];
    is404: null | boolean;
    pageProps?: Record<string, unknown>;
    _pageContextInit: Record<string, unknown>;
    globalContext: Record<string, any>;
};
declare function getPageContextClientSerialized(pageContext: PageContextSerialization): string;
declare function getGlobalContextClientSerialized(pageContext: PageContextSerialization): string;
declare function getPageContextClientSerializedAbort(pageContext: Record<string, unknown> & ({
    _urlRedirect: UrlRedirect;
} | {
    _urlRewrite: string;
} | {
    abortStatusCode: number;
})): string;
