import type { OAuthClientProvider, OAuthClientMetadata, OAuthClientInformationMixed, OAuthDiscoveryState, OAuthTokens } from '@modelcontextprotocol/client'; export interface OAuthProviderOptions { serverUrl: string; profileName: string; redirectUrl?: string; forceReauth?: boolean; clientCredentials?: { clientId: string; clientSecret?: string; }; clientMetadataUrl?: string; } export declare class OAuthProvider implements OAuthClientProvider { private serverUrl; private profileName; private _redirectUrl; private _forceReauth; private _clientCredentials?; clientMetadataUrl?: string; private _authProfile?; private _codeVerifier?; private _discoveryState?; private _resourceUrl?; private _clientInformation?; constructor(options: OAuthProviderOptions); 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; saveResourceUrl(resourceUrl: string): Promise; resourceUrl(): Promise; } //# sourceMappingURL=oauth-provider.d.ts.map