import type { OAuthClientProvider, OAuthClientMetadata, OAuthClientInformationMixed, OAuthDiscoveryState, OAuthTokens } from '@modelcontextprotocol/client'; import { OAuthTokenManager } from './oauth-token-manager.js'; export interface OAuthProviderOptions { serverUrl: string; profileName: string; tokenManager?: OAuthTokenManager; clientId?: string; redirectUrl?: string; forceReauth?: boolean; clientCredentials?: { clientId: string; clientSecret?: string; }; clientMetadataUrl?: string; } export declare class OAuthProvider implements OAuthClientProvider { private serverUrl; private profileName; private tokenManager?; private _clientId?; private _redirectUrl; private _forceReauth; private _clientCredentials?; clientMetadataUrl?: string; private _authProfile?; private _codeVerifier?; private _discoveryState?; private _clientInformation?; constructor(options: OAuthProviderOptions); private isRuntimeMode; get redirectUrl(): string; get clientMetadata(): OAuthClientMetadata; clientInformation(): Promise; saveClientInformation(clientInformation: OAuthClientInformationMixed): Promise; tokens(): Promise; saveTokens(tokens: OAuthTokens): Promise; private updateProfileMetadata; redirectToAuthorization(authorizationUrl: URL): Promise; saveCodeVerifier(codeVerifier: string): Promise; codeVerifier(): Promise; saveDiscoveryState(state: OAuthDiscoveryState): Promise; discoveryState(): Promise; } //# sourceMappingURL=oauth-provider.d.ts.map