import { OpenBadgesOAuthRepository } from "../repository/OpenBadgesOAuthRepository.mjs"; import { OpenBadgesTokenRepository } from "../repository/OpenBadgesTokenRepository.mjs"; import { AgentContext } from "@credo-ts/core"; //#region src/services/OAuthClient.d.ts declare class OAuthClient { private readonly repo; private readonly tokens; constructor(repo: OpenBadgesOAuthRepository, tokens: OpenBadgesTokenRepository); registerClient(agentContext: AgentContext, registrationUrl: string, body: Record): Promise; buildAuthorizationUrl(_authorizationUrl: string, _params: Record): string; completeAuthorizationCode(agentContext: AgentContext, tokenUrl: string, params: Record & { host?: string; }): Promise<{ access_token: string; refresh_token?: string; scope?: string; expires_in?: number; }>; getAccessToken(agentContext: AgentContext, tokenUrl: string, params: Record & { host?: string; }): Promise<{ access_token: string; refresh_token?: string; scope?: string; expires_in?: number; }>; } //#endregion export { OAuthClient }; //# sourceMappingURL=OAuthClient.d.mts.map