import { z } from 'zod'; /** * RFC 8414 OAuth 2.0 Authorization Server Metadata * https://datatracker.ietf.org/doc/html/rfc8414 */ export declare const AuthorizationServerMetadataSchema: z.ZodObject<{ issuer: z.ZodString; authorization_endpoint: z.ZodOptional; token_endpoint: z.ZodOptional; jwks_uri: z.ZodOptional; registration_endpoint: z.ZodOptional; scopes_supported: z.ZodOptional>; response_types_supported: z.ZodOptional>; response_modes_supported: z.ZodOptional>; grant_types_supported: z.ZodOptional>; token_endpoint_auth_methods_supported: z.ZodOptional>; token_endpoint_auth_signing_alg_values_supported: z.ZodOptional>; service_documentation: z.ZodOptional; ui_locales_supported: z.ZodOptional>; op_policy_uri: z.ZodOptional; op_tos_uri: z.ZodOptional; revocation_endpoint: z.ZodOptional; revocation_endpoint_auth_methods_supported: z.ZodOptional>; introspection_endpoint: z.ZodOptional; introspection_endpoint_auth_methods_supported: z.ZodOptional>; code_challenge_methods_supported: z.ZodOptional>; /** * Indicates whether the server supports Client ID Metadata Documents * @see MCP 2025-11-25 Authorization Specification */ client_id_metadata_document_supported: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ issuer: z.ZodString; authorization_endpoint: z.ZodOptional; token_endpoint: z.ZodOptional; jwks_uri: z.ZodOptional; registration_endpoint: z.ZodOptional; scopes_supported: z.ZodOptional>; response_types_supported: z.ZodOptional>; response_modes_supported: z.ZodOptional>; grant_types_supported: z.ZodOptional>; token_endpoint_auth_methods_supported: z.ZodOptional>; token_endpoint_auth_signing_alg_values_supported: z.ZodOptional>; service_documentation: z.ZodOptional; ui_locales_supported: z.ZodOptional>; op_policy_uri: z.ZodOptional; op_tos_uri: z.ZodOptional; revocation_endpoint: z.ZodOptional; revocation_endpoint_auth_methods_supported: z.ZodOptional>; introspection_endpoint: z.ZodOptional; introspection_endpoint_auth_methods_supported: z.ZodOptional>; code_challenge_methods_supported: z.ZodOptional>; /** * Indicates whether the server supports Client ID Metadata Documents * @see MCP 2025-11-25 Authorization Specification */ client_id_metadata_document_supported: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ issuer: z.ZodString; authorization_endpoint: z.ZodOptional; token_endpoint: z.ZodOptional; jwks_uri: z.ZodOptional; registration_endpoint: z.ZodOptional; scopes_supported: z.ZodOptional>; response_types_supported: z.ZodOptional>; response_modes_supported: z.ZodOptional>; grant_types_supported: z.ZodOptional>; token_endpoint_auth_methods_supported: z.ZodOptional>; token_endpoint_auth_signing_alg_values_supported: z.ZodOptional>; service_documentation: z.ZodOptional; ui_locales_supported: z.ZodOptional>; op_policy_uri: z.ZodOptional; op_tos_uri: z.ZodOptional; revocation_endpoint: z.ZodOptional; revocation_endpoint_auth_methods_supported: z.ZodOptional>; introspection_endpoint: z.ZodOptional; introspection_endpoint_auth_methods_supported: z.ZodOptional>; code_challenge_methods_supported: z.ZodOptional>; /** * Indicates whether the server supports Client ID Metadata Documents * @see MCP 2025-11-25 Authorization Specification */ client_id_metadata_document_supported: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; export type AuthorizationServerMetadata = z.infer; /** * Construct well-known URI for OAuth Authorization Server Metadata * https://datatracker.ietf.org/doc/html/rfc8414#section-3 */ export declare function getWellKnownUri(issuer: string): string; //# sourceMappingURL=oauth-discovery.d.ts.map