import { TokenRequest } from "../TokenRequest";
import { AccountInfo as NaaAccountInfo } from "../AccountInfo";
import { RedirectRequest } from "../../request/RedirectRequest";
import { PopupRequest } from "../../request/PopupRequest";
import { TokenResponse } from "../TokenResponse";
import { AccountInfo as MsalAccountInfo, AuthError, ClientAuthError, ClientConfigurationError, InteractionRequiredAuthError, ServerError, ICrypto, Logger } from "@azure/msal-common";
import { SilentRequest } from "../../request/SilentRequest";
import { AuthenticationResult } from "../../response/AuthenticationResult";
export declare class NestedAppAuthAdapter {
    protected crypto: ICrypto;
    protected logger: Logger;
    protected clientId: string;
    protected clientCapabilities: string[];
    constructor(clientId: string, clientCapabilities: string[], crypto: ICrypto, logger: Logger);
    toNaaSilentTokenRequest(request: SilentRequest): TokenRequest;
    toNaaTokenRequest(request: PopupRequest | RedirectRequest): TokenRequest;
    fromNaaTokenResponse(request: TokenRequest, response: TokenResponse): AuthenticationResult;
    fromNaaAccountInfo(fromAccount: NaaAccountInfo): MsalAccountInfo;
    /**
     *
     * @param error BridgeError
     * @returns AuthError, ClientAuthError, ClientConfigurationError, ServerError, InteractionRequiredError
     */
    fromBridgeError(error: unknown): AuthError | ClientAuthError | ClientConfigurationError | ServerError | InteractionRequiredAuthError;
}
//# sourceMappingURL=NestedAppAuthAdapter.d.ts.map