import type { Action } from "history";
import { type PropsWithChildren } from "react";
export interface RouteState {
    views: string[];
    params: Record<string, string>;
    search: string;
    state: Record<string, unknown>;
    pathname: string;
    hash: string;
    action: Action | null;
    routePath: string;
    locale: string | null;
}
export type PageData = {
    data: Record<string, unknown>;
    i18n: {
        currentLocale: string;
        dictionary: Record<string, Record<string, unknown>>;
        supportedLocales: string[];
    };
    prefetchedData: Record<string, unknown>;
    breadcrumbs: any;
    appId: string;
};
export declare const RouteStateContext: import("react").Context<RouteState & PageData>;
export declare const RouteStateProvider: (props: PropsWithChildren<{
    state: RouteState & PageData;
}>) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=RouteStateContext.d.ts.map