import { type OAuthDiscoveryState } from '@modelcontextprotocol/sdk/client/auth.js';
import type { McpOAuthStore } from './oauth-state-store.js';
import type { McpHostedServerConfig } from './types.js';
export interface HostedMcpOAuthResolution {
    discoveryState?: OAuthDiscoveryState;
    resourceMetadataUrl?: URL;
    resource?: string;
    scope?: string;
}
interface HostedMcpOAuthResolutionOptions {
    timeoutMs?: number;
}
export declare function resolveHostedMcpOAuthTimeoutMs(config: McpHostedServerConfig): number;
export declare function resolveHostedMcpOAuth(serverName: string, config: McpHostedServerConfig, mcpOAuthStore?: McpOAuthStore, options?: HostedMcpOAuthResolutionOptions): Promise<HostedMcpOAuthResolution>;
export declare function supportsHostedMcpOAuth(serverName: string, config: McpHostedServerConfig, mcpOAuthStore?: McpOAuthStore, options?: HostedMcpOAuthResolutionOptions): Promise<boolean>;
export {};
//# sourceMappingURL=oauth-discovery.d.ts.map