import type { OAuth2Tokens } from "../oauth2.js";
export declare class MicrosoftEntraId {
    private authorizationEndpoint;
    private tokenEndpoint;
    private clientId;
    private clientSecret;
    private redirectURI;
    constructor(tenant: string, clientId: string, clientSecret: string | null, redirectURI: string);
    createAuthorizationURL(state: string, codeVerifier: string, scopes: string[]): URL;
    validateAuthorizationCode(code: string, codeVerifier: string): Promise<OAuth2Tokens>;
    refreshAccessToken(refreshToken: string, scopes: string[]): Promise<OAuth2Tokens>;
}
