import { OpenBadgesServiceDescriptionRepository } from "../repository/OpenBadgesServiceDescriptionRepository.mjs"; import { OpenBadgesOAuthRepository } from "../repository/OpenBadgesOAuthRepository.mjs"; import { OAuthClient } from "./OAuthClient.mjs"; import { AgentContext } from "@credo-ts/core"; //#region src/services/ConsumerService.d.ts declare class ConsumerService { private readonly sddRepo; private readonly oauthRepo; private readonly oauth; constructor(sddRepo: OpenBadgesServiceDescriptionRepository, oauthRepo: OpenBadgesOAuthRepository, oauth: OAuthClient); importFromUrl(agentContext: AgentContext, url: string, options?: { discoveryUrl?: string; }): Promise<{ discovery: any; registration: { client_id: string; redirect_uris?: string[]; scope?: string; }; authorizationUrl: string; host: string; }>; ensureServiceDescription(agentContext: AgentContext, discoveryUrl: string): Promise; upsertToRemote(agentContext: AgentContext, baseUrl: string, credential: unknown): Promise; } //#endregion export { ConsumerService }; //# sourceMappingURL=ConsumerService.d.mts.map