import React, { PropsWithChildren } from "react"; import { AccountIdentifiers } from "../types/AccountIdentifiers.js"; import { MsalAuthenticationResult } from "../hooks/useMsalAuthentication.js"; import { InteractionType, PopupRequest, RedirectRequest, SsoSilentRequest } from "@azure/msal-browser"; import { IMsalContext } from "../MsalContext.js"; export type MsalAuthenticationProps = PropsWithChildren; errorComponent?: React.ElementType; }>; /** * Attempts to authenticate user if not already authenticated, then renders child components * @param props */ export declare function MsalAuthenticationTemplate({ interactionType, username, homeAccountId, localAccountId, authenticationRequest, loadingComponent: LoadingComponent, errorComponent: ErrorComponent, children, }: MsalAuthenticationProps): React.ReactElement | null; //# sourceMappingURL=MsalAuthenticationTemplate.d.ts.map