import { z } from 'zod'; /** * RFC 9728 OAuth 2.0 Protected Resource Metadata * https://datatracker.ietf.org/doc/html/rfc9728 */ export declare const ProtectedResourceMetadataSchema: z.ZodObject<{ resource: z.ZodOptional; authorization_servers: z.ZodArray; bearer_methods_supported: z.ZodOptional>; resource_signing_alg_values_supported: z.ZodOptional>; scopes_supported: z.ZodOptional>; resource_documentation: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ resource: z.ZodOptional; authorization_servers: z.ZodArray; bearer_methods_supported: z.ZodOptional>; resource_signing_alg_values_supported: z.ZodOptional>; scopes_supported: z.ZodOptional>; resource_documentation: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ resource: z.ZodOptional; authorization_servers: z.ZodArray; bearer_methods_supported: z.ZodOptional>; resource_signing_alg_values_supported: z.ZodOptional>; scopes_supported: z.ZodOptional>; resource_documentation: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; export type ProtectedResourceMetadata = z.infer; /** * Construct well-known URI for Protected Resource Metadata * https://datatracker.ietf.org/doc/html/rfc9728#section-3 */ export declare function getProtectedResourceMetadataUri(serverUrl: string): string; /** * Parse WWW-Authenticate header to extract resource_metadata URL */ export declare function parseWWWAuthenticateHeader(header: string): string | null; //# sourceMappingURL=protected-resource-metadata.d.ts.map