export type ClientMetadataDocument = { redirect_uris: string[]; client_name?: string; grant_types?: string[]; response_types?: string[]; scope?: string; token_endpoint_auth_method?: string; }; export declare function isLoopbackRedirect(redirectUrl: URL): boolean; /** Exact string match; a registered loopback http URI also matches on any port (RFC 8252 ยง7.3). */ export declare function isRedirectUriRegistered(redirectUri: string, registeredUris: string[]): boolean; export declare function isClientMetadataDocumentUrl(clientId: string | null | undefined): clientId is string; export declare function fetchClientMetadataDocument(clientId: string): Promise; //# sourceMappingURL=mcp-client-metadata.d.ts.map