export interface McpOAuthConfig { clientId?: string; clientSecretEnv?: string; scope?: string; callbackPort?: number; redirectUri?: string; } export declare function removeOAuth(name: string): void; export declare function hasOAuthTokens(name: string, serverUrl: string): boolean; export declare function beginOAuthLogin(name: string, serverUrl: string, config?: McpOAuthConfig, authenticate?: string, onUrl?: (url: string) => void): Promise; export declare function completeOAuthCallback(name: string, redirectUrl: string): Promise; export declare function accessToken(name: string, serverUrl: string, config?: McpOAuthConfig): Promise; export declare function refreshToken(name: string, serverUrl: string, config?: McpOAuthConfig): Promise; //# sourceMappingURL=McpOAuth.d.ts.map