import type { AccessToken, GetTokenOptions, TokenCredential } from "@azure/core-auth"; import type { GeneratedClient } from "./generated/index.js"; export interface ContainerRegistryGetTokenOptions extends GetTokenOptions { service: string; } export declare class ContainerRegistryRefreshTokenCredential implements TokenCredential { private authenticationScope; private credential?; readonly tokenService: ContainerRegistryTokenService; readonly isAnonymousAccess: boolean; constructor(authClient: GeneratedClient, authenticationScope: string, credential?: TokenCredential | undefined); getToken(_scopes: string | string[], options: ContainerRegistryGetTokenOptions): Promise; } export declare class ContainerRegistryTokenService { private authClient; constructor(authClient: GeneratedClient); ExchangeAadAccessTokenForAcrRefreshTokenAsync(aadAccessToken: string, service: string, options: GetTokenOptions): Promise; ExchangeAcrRefreshTokenForAcrAccessTokenAsync(acrRefreshToken: string, service: string, scope: string, grantType: "refresh_token" | "password", options: GetTokenOptions): Promise; } //# sourceMappingURL=containerRegistryTokenCredential.d.ts.map