/**
 * OAuth metadata for MCP clients (ChatGPT Connectors, Claude web, etc.).
 *
 * Room servers issue JWTs via /auth/oauth/* and accept Bearer JWT on /mcp.
 *
 * @module trellis/server
 */
import type { AuthConfig } from './auth.js';
export declare function oauthProtectedResourceMetadata(origin: string, resourcePath?: string): {
    resource: string;
    authorization_servers: string[];
    bearer_methods_supported: string[];
    scopes_supported: string[];
};
export declare function oauthAuthorizationServerMetadata(origin: string, providers?: string[], resourcePath?: string): {
    issuer: string;
    authorization_endpoint: string;
    token_endpoint: string;
    registration_endpoint: string;
    scopes_supported: string[];
    response_types_supported: string[];
    grant_types_supported: string[];
    code_challenge_methods_supported: string[];
    mcp_resource: string;
    oauth_providers: {
        name: string;
        authorization_endpoint: string;
    }[];
};
export declare function mcpServiceDocument(origin: string, authConfig: AuthConfig): Record<string, unknown>;
//# sourceMappingURL=mcp-oauth-metadata.d.ts.map