import { type OAuthClientProvider } from '@modelcontextprotocol/sdk/client/auth.js';
import type { OAuthProviderInterface } from '../../ai/utils/oauth/index.js';
import type { AuthStorage } from '../auth/auth-storage.js';
import type { McpOAuthStore } from './oauth-state-store.js';
import type { McpHostedServerConfig } from './types.js';
export declare function isHostedMcpOAuthProviderId(providerId: string): boolean;
export declare function createHostedMcpOAuthProvider(serverName: string, config: McpHostedServerConfig, authStorage?: AuthStorage, mcpOAuthStore?: McpOAuthStore): OAuthProviderInterface;
export declare function createHostedMcpRuntimeAuthProvider(serverName: string, config: McpHostedServerConfig, authStorage: AuthStorage, mcpOAuthStore: McpOAuthStore): OAuthClientProvider;
export declare function registerHostedMcpOAuthProviders(servers: Record<string, import('./types.js').McpServerConfig>, authStorage?: AuthStorage, mcpOAuthStore?: McpOAuthStore): string[];
export declare function unregisterHostedMcpOAuthProviders(providerIds: string[]): void;
//# sourceMappingURL=hosted-oauth-provider.d.ts.map