import { HttpService } from '@nestjs/axios'; import { Observable } from 'rxjs'; import type { OAuth2ParamsInterface } from '../iam-provider.interface'; import { WellKnownService } from '../well-know.service'; import { KeycloakResponseAccessToken } from './keycloak-provider.interface'; export declare class KeycloakTokenExchangeService { private readonly httpService; private readonly wellKnownService; protected readonly params: OAuth2ParamsInterface; private timeout; constructor(httpService: HttpService, wellKnownService: WellKnownService, params: OAuth2ParamsInterface); isExternalToken(token: string): Observable; exchangeInternalTokenForInternalToken(internalToken: string, audience?: string): Observable; exchangeExternalTokenForInternalToken(externalToken: string, subjectIssuer: string, audience?: string): Observable; exchangeInternalTokenForExternalToken(internalToken: string, requestedIssuer: string): Observable; } //# sourceMappingURL=keycloak-token-enchange.service.d.ts.map