import type { AiCredential } from '../ai/service/types'; import type { CredentialResolveInput, CredentialResolver, ExtensionContext, ExtensionFetch, ResolvedCredential } from './types'; export interface CredentialReaderLike { getAiCredential(podBaseUrl: string, providerId: string, authenticatedFetch: ExtensionFetch, webId?: string, options?: { credentialId?: string; }): Promise; } export interface PodCredentialResolverOptions { credentialReader?: CredentialReaderLike; genericCredentialReader?: GenericCredentialReaderLike; } export interface GenericCredentialReaderLike { getCredential(input: CredentialResolveInput, context: ExtensionContext): Promise; } export declare class PodCredentialResolver implements CredentialResolver { private readonly credentialReader; private readonly genericCredentialReader; constructor(options?: PodCredentialResolverOptions); resolve(input: CredentialResolveInput, context: ExtensionContext): Promise; } export declare class PodGenericCredentialReader implements GenericCredentialReaderLike { getCredential(input: CredentialResolveInput, context: ExtensionContext): Promise; }