/**
 * -------------------------------------------------------------------------------------------
 * Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.
 * See License in the project root for license information.
 * -------------------------------------------------------------------------------------------
 */
import type { GetTokenOptions, TokenCredential } from "@azure/core-auth";
import { type AccessTokenProvider, AllowedHostsValidator } from "@microsoft/kiota-abstractions";
import { type ObservabilityOptions } from "./observabilityOptions.js";
/** Access token provider that leverages the Azure Identity library to retrieve an access token. */
export declare class AzureIdentityAccessTokenProvider implements AccessTokenProvider {
    private readonly credentials;
    private readonly scopes;
    private readonly options?;
    private readonly observabilityOptions;
    private readonly isCaeEnabled;
    /**
     *@param credentials The tokenCredential implementation to use for authentication.
     *@param scopes The scopes to use for authentication.
     *@param options The options to use for authentication.
     *@param allowedHosts The allowed hosts to use for authentication.
     *@param observabilityOptions The observability options to use for authentication.
     *@param isCaeEnabled A flag to determine if Continuous Access Evaluation is enabled.
     */
    constructor(credentials: TokenCredential, scopes?: string[], options?: GetTokenOptions | undefined, allowedHosts?: Set<string>, observabilityOptions?: ObservabilityOptions, isCaeEnabled?: boolean);
    private readonly allowedHostsValidator;
    private static readonly claimsKey;
    /**
     * @inheritdoc
     */
    getAuthorizationToken: (url?: string, additionalAuthenticationContext?: Record<string, unknown>) => Promise<string>;
    private readonly getAuthorizationTokenInternal;
    private readonly getSchemeAndHostFromUrl;
    private readonly getSchemeFromLocation;
    private readonly getHostFromLocation;
    /**
     * @inheritdoc
     */
    getAllowedHostsValidator: () => AllowedHostsValidator;
}
//# sourceMappingURL=azureIdentityAccessTokenProvider.d.ts.map