import { LoggedInUser } from '@zeniai/client-epic-state';
declare global {
    interface Window {
        authScope: any;
    }
}
export interface MicrosoftLoginResponse {
    accessToken?: string;
    code?: string;
    scope?: string;
    tokenType?: string;
}
export interface MicrosoftLoginResponseOffline {
    code: string;
}
interface MicrosoftLoginProps {
    clientId: string;
    disabled?: boolean;
    prompt?: string;
    redirectUri?: string;
    responseMode?: string;
    responseType?: string;
    scopes?: string[];
    getSignedInUser: () => LoggedInUser | undefined;
    onFailure: (response: {
        error: string;
        errorDetail: Record<string, string>;
    }) => void;
    onSignedInCallback: () => void;
    onSuccess: (response: MicrosoftLoginResponse | MicrosoftLoginResponseOffline) => void;
    render: (props: {
        disabled?: boolean;
        onClick: () => void;
    }) => JSX.Element;
}
declare const MicrosoftLogin: (props: MicrosoftLoginProps) => JSX.Element;
export default MicrosoftLogin;
