import { type PropsWithChildren } from "react";
import type { Translations } from "./I18nContext";
import type { ComponentTree } from "./types";
import type { User } from "../auth/adapters/types";
type Data = Record<string, any>;
export interface ServerDataContextValue {
    routeManifest: Record<string, string[]>;
    pageData: Record<string, Record<string, Data>>;
    breadcrumbs: Record<string, {
        label: string;
        href: string;
    }>;
    prefetchedData: Record<string, Data>;
    router: {
        pathname: string;
        params: Record<string, any>;
        currentPath: string;
        is404: boolean;
        searchParams: string;
        urlLocaleSegment: string | null;
    };
    i18n: {
        dictionary: Translations;
        currentLocale: string;
        supportedLocales: string[];
        defaultLocale: string;
    };
    componentTree: ComponentTree;
    auth: {
        user: User;
    };
    __csrf: string;
    cssManifest: Record<string, string[]>;
    meta: any;
    appId: string;
}
export declare const ServerDataContext: import("react").Context<ServerDataContextValue>;
interface ServerDataProviderProps {
    value?: ServerDataContextValue;
}
export declare const ServerDataProvider: (props: PropsWithChildren<ServerDataProviderProps>) => import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=ServerDataProvider.d.ts.map