import React from 'react';
import { RouteProps } from 'react-router-dom';
/**
 * Route guard for protected pages.
 *
 * - Triggers login redirect when the user is not authenticated.
 * - Blocks rendering until user/tenant/theme are initialized after login.
 * - Enforces menu activation and role-based access.
 */
export interface PrivateRouteProps extends RouteProps {
    /**
     * Optional map of pathname -> required role IDs.
     * If a path is present and has roles, the user must have at least one.
     */
    rolesMap?: Map<string, string[]>;
    /**
     * Optional map of pathname -> menu active status.
     * If a path is present and inactive, access is denied.
     */
    menuActiveMap?: Map<string, boolean>;
}
export declare const PrivateRoute: ({ rolesMap: propRolesMap, menuActiveMap: propMenuActiveMap, ...routeProps }: PrivateRouteProps) => React.JSX.Element;
//# sourceMappingURL=PrivateRoute.d.ts.map