/**
 * MentorProvider Component
 *
 * Provider that manages AI mentor selection and redirection logic.
 * It handles:
 * - Mentor selection based on user preferences and history
 * - Mentor seeding for new tenants
 * - Redirection to appropriate mentor or creation flow
 * - Integration with tenant context for access control
 */
import React from "react";
/**
 * Props for the MentorProvider component
 */
type Props = {
    children?: React.ReactNode;
    fallback?: React.ReactNode;
    onAuthSuccess?: () => void;
    onAuthFailure?: (reason: string) => void;
    redirectToAuthSpa: () => void;
    redirectToMentor: (tenantKey: string, mentorId: string) => void;
    onLoadMentorsPermissions?: (rbacPermissions: Record<string, unknown> | undefined) => void;
    redirectToNoMentorsPage: () => void;
    redirectToCreateMentor: () => void;
    username: string;
    isAdmin: boolean;
    mainTenantKey: string;
    requestedMentorId?: string;
    handleMentorNotFound?: () => Promise<void>;
    forceDetermineMentor?: boolean;
    onComplete?: () => void;
    skip?: boolean;
};
/**
 * MentorProvider Component
 *
 * Main mentor provider that:
 * 1. Determines the most appropriate mentor for the user
 * 2. Handles mentor seeding for new tenants
 * 3. Manages redirection based on mentor availability
 * 4. Integrates with tenant context for access control
 */
export declare function MentorProvider({ children, fallback, onAuthSuccess, onAuthFailure, redirectToAuthSpa, redirectToMentor, onLoadMentorsPermissions, redirectToNoMentorsPage, redirectToCreateMentor, username, isAdmin, mainTenantKey, requestedMentorId, handleMentorNotFound, forceDetermineMentor, onComplete, skip, }: Props): string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
export {};
