import { z } from "zod"; import { type GatewayCredentialRef, type RegisterGatewayCredentialRefInput } from "../../protocol/areas/credential-custody"; /** Phase 04 plan `04-08` / D-11: shared HTTP transport canonicalization for auth.md exact profile. */ export declare const AUTH_MD_PROTECTED_API_CALL_EXACT_PROFILE: "auth_md_protected_api_call.exact"; export declare const AuthMdProtectedApiCallAllowedHttpMethodSchema: z.ZodEnum<{ GET: "GET"; POST: "POST"; PUT: "PUT"; PATCH: "PATCH"; DELETE: "DELETE"; }>; export type AuthMdProtectedApiCallAllowedHttpMethod = z.infer; export declare const AuthMdProtectedApiCallHeaderAllowlistSchema: z.ZodArray>; export type AuthMdProtectedApiCallHeaderAllowlist = z.infer; export declare const AuthMdProtectedApiCallExactTransportSchema: z.ZodObject<{ targetHttpMethod: z.ZodEnum<{ GET: "GET"; POST: "POST"; PUT: "PUT"; PATCH: "PATCH"; DELETE: "DELETE"; }>; endpointUrl: z.ZodString; pathTemplate: z.ZodString; requestBodyDigest: z.ZodDefault>; selectedHeadersDigest: z.ZodString; dynamicEndpointConstructionObserved: z.ZodDefault; dynamicHostConstructionObserved: z.ZodDefault; retryAuthorityReuseDetected: z.ZodDefault; }, z.core.$strict>; export declare function canonicalizeAuthMdProtectedApiCallExactTransport(input: z.input): z.infer; export declare const AUTH_MD_REGISTERED_CREDENTIAL_PROFILE = "auth_md_registered_credential.v0"; export declare const AUTH_MD_DISCOVERY_REDACTION_PROFILE = "auth-md-discovery:v0-redacted"; export declare const AUTH_MD_REGISTRATION_REDACTION_PROFILE = "auth-md-registration:v0-redacted"; export declare const AUTH_MD_IDENTITY_ASSERTION_REDACTION_PROFILE = "auth-md-identity-assertion:v0-redacted"; export declare const AUTH_MD_CLAIM_REDACTION_PROFILE = "auth-md-claim:v0-redacted"; export declare const AUTH_MD_REVOCATION_REDACTION_PROFILE = "auth-md-revocation:v0-redacted"; export declare const AuthMdCredentialTypeSchema: z.ZodEnum<{ api_key: "api_key"; access_token: "access_token"; }>; export type AuthMdCredentialType = z.infer; export declare const AuthMdAgentAuthIdentityTypeSchema: z.ZodEnum<{ anonymous: "anonymous"; identity_assertion: "identity_assertion"; }>; export type AuthMdAgentAuthIdentityType = z.infer; export declare const AuthMdIdentityAssertionTypeSchema: z.ZodEnum<{ "urn:ietf:params:oauth:token-type:id-jag": "urn:ietf:params:oauth:token-type:id-jag"; verified_email: "verified_email"; }>; export type AuthMdIdentityAssertionType = z.infer; export declare const AuthMdIdentityFlowSchema: z.ZodEnum<{ anonymous: "anonymous"; identity_assertion: "identity_assertion"; user_claimed: "user_claimed"; }>; export type AuthMdIdentityFlow = z.infer; export declare const AuthMdClaimStateSchema: z.ZodEnum<{ proof_gap: "proof_gap"; not_applicable: "not_applicable"; claimed: "claimed"; pre_claim: "pre_claim"; pending_user_claim: "pending_user_claim"; claim_refused: "claim_refused"; }>; export type AuthMdClaimState = z.infer; export declare const AuthMdCredentialLifecycleStateSchema: z.ZodEnum<{ proof_gap: "proof_gap"; active: "active"; revoked: "revoked"; expired: "expired"; quarantined: "quarantined"; }>; export type AuthMdCredentialLifecycleState = z.infer; export declare const AuthMdMetadataCachePostureSchema: z.ZodEnum<{ unknown: "unknown"; stale: "stale"; fresh: "fresh"; not_advertised: "not_advertised"; }>; export type AuthMdMetadataCachePosture = z.infer; export declare const AuthMdIdentityAssurancePostureSchema: z.ZodEnum<{ proof_gap: "proof_gap"; provider_asserted: "provider_asserted"; jwks_verified: "jwks_verified"; cimd_verified: "cimd_verified"; }>; export type AuthMdIdentityAssurancePosture = z.infer; export declare const AuthMdClaimScopeTransitionSchema: z.ZodEnum<{ proof_gap: "proof_gap"; claim_refused: "claim_refused"; no_scope_change: "no_scope_change"; rotated_credential_ref: "rotated_credential_ref"; scope_widened_requires_rotation: "scope_widened_requires_rotation"; }>; export type AuthMdClaimScopeTransition = z.infer; export declare const AuthMdRevocationEventKindSchema: z.ZodEnum<{ ambiguous: "ambiguous"; logout_jwt: "logout_jwt"; explicit_revocation: "explicit_revocation"; downstream_401: "downstream_401"; credential_expired: "credential_expired"; metadata_drift: "metadata_drift"; }>; export type AuthMdRevocationEventKind = z.infer; export declare const AuthMdAgentAuthMetadataWireSchema: z.ZodObject<{ skill: z.ZodOptional; register_uri: z.ZodString; claim_uri: z.ZodOptional; revocation_uri: z.ZodOptional; identity_types_supported: z.ZodArray>; anonymous: z.ZodOptional>; }, z.core.$strict>>; identity_assertion: z.ZodOptional>; credential_types_supported: z.ZodArray>; }, z.core.$strict>>; events_supported: z.ZodDefault>; }, z.core.$strict>; export type AuthMdAgentAuthMetadataWire = z.input; export declare const AuthMdProtectedResourceMetadataWireSchema: z.ZodObject<{ resource: z.ZodString; resource_name: z.ZodOptional; resource_logo_uri: z.ZodOptional; authorization_servers: z.ZodArray; scopes_supported: z.ZodDefault>; bearer_methods_supported: z.ZodDefault>; }, z.core.$strict>; export type AuthMdProtectedResourceMetadataWire = z.input; export declare const AuthMdAuthorizationServerMetadataWireSchema: z.ZodObject<{ issuer: z.ZodOptional; resource: z.ZodOptional; authorization_servers: z.ZodDefault>; scopes_supported: z.ZodDefault>; bearer_methods_supported: z.ZodDefault>; jwks_uri: z.ZodOptional; authorization_endpoint: z.ZodOptional; token_endpoint: z.ZodOptional; claims_supported: z.ZodDefault>; agent_auth: z.ZodObject<{ skill: z.ZodOptional; register_uri: z.ZodString; claim_uri: z.ZodOptional; revocation_uri: z.ZodOptional; identity_types_supported: z.ZodArray>; anonymous: z.ZodOptional>; }, z.core.$strict>>; identity_assertion: z.ZodOptional>; credential_types_supported: z.ZodArray>; }, z.core.$strict>>; events_supported: z.ZodDefault>; }, z.core.$strict>; }, z.core.$strict>; export type AuthMdAuthorizationServerMetadataWire = z.input; export declare const AuthMdAgentAuthMetadataSchema: z.ZodObject<{ skill: z.ZodNullable; registerUri: z.ZodString; claimUri: z.ZodNullable; revocationUri: z.ZodNullable; identityTypes: z.ZodArray>; credentialTypes: z.ZodArray>; anonymousCredentialTypes: z.ZodArray>; identityAssertionCredentialTypes: z.ZodArray>; identityAssertionTypes: z.ZodArray>; eventsSupported: z.ZodArray; }, z.core.$strict>; export type AuthMdAgentAuthMetadata = z.infer; export declare const AuthMdProtectedResourceMetadataSchema: z.ZodObject<{ resource: z.ZodString; resourceName: z.ZodNullable; resourceLogoUri: z.ZodNullable; authorizationServers: z.ZodArray; scopesSupported: z.ZodArray; bearerMethodsSupported: z.ZodArray; }, z.core.$strict>; export type AuthMdProtectedResourceMetadata = z.infer; export declare const AuthMdAuthorizationServerMetadataSchema: z.ZodObject<{ issuer: z.ZodNullable; resource: z.ZodNullable; authorizationServers: z.ZodArray; scopesSupported: z.ZodArray; bearerMethodsSupported: z.ZodArray; jwksUri: z.ZodNullable; authorizationEndpoint: z.ZodNullable; tokenEndpoint: z.ZodNullable; claimsSupported: z.ZodArray; agentAuth: z.ZodObject<{ skill: z.ZodNullable; registerUri: z.ZodString; claimUri: z.ZodNullable; revocationUri: z.ZodNullable; identityTypes: z.ZodArray>; credentialTypes: z.ZodArray>; anonymousCredentialTypes: z.ZodArray>; identityAssertionCredentialTypes: z.ZodArray>; identityAssertionTypes: z.ZodArray>; eventsSupported: z.ZodArray; }, z.core.$strict>; }, z.core.$strict>; export type AuthMdAuthorizationServerMetadata = z.infer; export declare const AuthMdDiscoveryEvidenceSchema: z.ZodObject<{ evidenceKind: z.ZodLiteral<"auth_md_discovery">; profile: z.ZodLiteral<"auth_md_registered_credential.v0">; authorityCreated: z.ZodLiteral; metadataSourceOfTruth: z.ZodLiteral<"oauth_protected_resource_metadata_chain">; agentAuthSourceOfTruth: z.ZodLiteral<"oauth_authorization_server_metadata">; protectedResourceMetadata: z.ZodObject<{ resource: z.ZodString; resourceName: z.ZodNullable; resourceLogoUri: z.ZodNullable; authorizationServers: z.ZodArray; scopesSupported: z.ZodArray; bearerMethodsSupported: z.ZodArray; }, z.core.$strict>; protectedResourceMetadataDigest: z.ZodString; protectedResourceMetadataSourceRef: z.ZodNullable; authorizationServerMetadata: z.ZodObject<{ issuer: z.ZodNullable; resource: z.ZodNullable; authorizationServers: z.ZodArray; scopesSupported: z.ZodArray; bearerMethodsSupported: z.ZodArray; jwksUri: z.ZodNullable; authorizationEndpoint: z.ZodNullable; tokenEndpoint: z.ZodNullable; claimsSupported: z.ZodArray; agentAuth: z.ZodObject<{ skill: z.ZodNullable; registerUri: z.ZodString; claimUri: z.ZodNullable; revocationUri: z.ZodNullable; identityTypes: z.ZodArray>; credentialTypes: z.ZodArray>; anonymousCredentialTypes: z.ZodArray>; identityAssertionCredentialTypes: z.ZodArray>; identityAssertionTypes: z.ZodArray>; eventsSupported: z.ZodArray; }, z.core.$strict>; }, z.core.$strict>; authorizationServerMetadataDigest: z.ZodString; authorizationServerMetadataSourceRef: z.ZodNullable; cachePosture: z.ZodEnum<{ unknown: "unknown"; stale: "stale"; fresh: "fresh"; not_advertised: "not_advertised"; }>; cacheObservedAt: z.ZodNullable; cacheMaxAgeSeconds: z.ZodNullable; authMdDocumentDigest: z.ZodNullable; discoveredAt: z.ZodString; redactionProfileRef: z.ZodLiteral<"auth-md-discovery:v0-redacted">; credentialMaterialIncluded: z.ZodLiteral; }, z.core.$strict>; export type AuthMdDiscoveryEvidence = z.infer; export declare const BuildAuthMdDiscoveryEvidenceInputSchema: z.ZodObject<{ protectedResourceMetadata: z.ZodObject<{ resource: z.ZodString; resource_name: z.ZodOptional; resource_logo_uri: z.ZodOptional; authorization_servers: z.ZodArray; scopes_supported: z.ZodDefault>; bearer_methods_supported: z.ZodDefault>; }, z.core.$strict>; protectedResourceMetadataSourceRef: z.ZodDefault>; authorizationServerMetadata: z.ZodObject<{ issuer: z.ZodOptional; resource: z.ZodOptional; authorization_servers: z.ZodDefault>; scopes_supported: z.ZodDefault>; bearer_methods_supported: z.ZodDefault>; jwks_uri: z.ZodOptional; authorization_endpoint: z.ZodOptional; token_endpoint: z.ZodOptional; claims_supported: z.ZodDefault>; agent_auth: z.ZodObject<{ skill: z.ZodOptional; register_uri: z.ZodString; claim_uri: z.ZodOptional; revocation_uri: z.ZodOptional; identity_types_supported: z.ZodArray>; anonymous: z.ZodOptional>; }, z.core.$strict>>; identity_assertion: z.ZodOptional>; credential_types_supported: z.ZodArray>; }, z.core.$strict>>; events_supported: z.ZodDefault>; }, z.core.$strict>; }, z.core.$strict>; authorizationServerMetadataSourceRef: z.ZodDefault>; cachePosture: z.ZodDefault>; cacheObservedAt: z.ZodDefault>; cacheMaxAgeSeconds: z.ZodDefault>; authMdDocumentDigest: z.ZodDefault>; discoveredAt: z.ZodString; }, z.core.$strict>; export type BuildAuthMdDiscoveryEvidenceInput = z.input; export declare const AuthMdRegistrationEvidenceSchema: z.ZodObject<{ evidenceKind: z.ZodLiteral<"auth_md_registration">; profile: z.ZodLiteral<"auth_md_registered_credential.v0">; authorityCreated: z.ZodLiteral; registrationId: z.ZodString; protectedResourceMetadataDigest: z.ZodString; authorizationServerMetadataDigest: z.ZodString; protectedResource: z.ZodString; authorizationServer: z.ZodString; identityFlow: z.ZodEnum<{ anonymous: "anonymous"; identity_assertion: "identity_assertion"; user_claimed: "user_claimed"; }>; credentialType: z.ZodEnum<{ api_key: "api_key"; access_token: "access_token"; }>; scopes: z.ZodArray; credentialLifecycleState: z.ZodEnum<{ proof_gap: "proof_gap"; active: "active"; revoked: "revoked"; expired: "expired"; quarantined: "quarantined"; }>; claimState: z.ZodEnum<{ proof_gap: "proof_gap"; not_applicable: "not_applicable"; claimed: "claimed"; pre_claim: "pre_claim"; pending_user_claim: "pending_user_claim"; claim_refused: "claim_refused"; }>; idJagIssuer: z.ZodNullable; idJagSubjectDigest: z.ZodNullable; idJagAudience: z.ZodNullable; idJagJtiDigest: z.ZodNullable; idJagAssurancePosture: z.ZodNullable>; idJagJwksOrCimdRef: z.ZodNullable; providerRegistryDigest: z.ZodString; issuedAt: z.ZodString; expiresAt: z.ZodNullable; registeredAt: z.ZodString; redactionProfileRef: z.ZodLiteral<"auth-md-registration:v0-redacted">; credentialMaterialIncluded: z.ZodLiteral; credentialMaterialPosture: z.ZodLiteral<"gateway_custody_intake_only">; registrationEvidenceDigest: z.ZodString; }, z.core.$strict>; export type AuthMdRegistrationEvidence = z.infer; export declare const AuthMdIdentityAssertionEvidenceSchema: z.ZodObject<{ evidenceKind: z.ZodLiteral<"auth_md_identity_assertion">; profile: z.ZodLiteral<"auth_md_registered_credential.v0">; authorityCreated: z.ZodLiteral; protectedResource: z.ZodString; authorizationServer: z.ZodNullable; issuer: z.ZodString; subjectDigest: z.ZodString; audience: z.ZodString; jtiDigest: z.ZodString; verifiedEmailDigest: z.ZodNullable; jwksOrCimdRef: z.ZodNullable; assurancePosture: z.ZodEnum<{ proof_gap: "proof_gap"; provider_asserted: "provider_asserted"; jwks_verified: "jwks_verified"; cimd_verified: "cimd_verified"; }>; identityAssertionJwtDigest: z.ZodNullable; issuedAt: z.ZodString; expiresAt: z.ZodString; redactionProfileRef: z.ZodLiteral<"auth-md-identity-assertion:v0-redacted">; rawJwtIncluded: z.ZodLiteral; piiIncluded: z.ZodLiteral; identityAssertionEvidenceDigest: z.ZodString; }, z.core.$strict>; export type AuthMdIdentityAssertionEvidence = z.infer; export declare const BuildAuthMdIdentityAssertionEvidenceInputSchema: z.ZodObject<{ protectedResource: z.ZodString; authorizationServer: z.ZodDefault>; issuer: z.ZodString; subject: z.ZodString; audience: z.ZodString; jti: z.ZodString; verifiedEmail: z.ZodDefault>; jwksOrCimdRef: z.ZodDefault>; assurancePosture: z.ZodDefault>; identityAssertionJwt: z.ZodDefault>; issuedAt: z.ZodString; expiresAt: z.ZodString; }, z.core.$strict>; export type BuildAuthMdIdentityAssertionEvidenceInput = z.input; export declare const AuthMdClaimEvidenceSchema: z.ZodObject<{ evidenceKind: z.ZodLiteral<"auth_md_claim">; profile: z.ZodLiteral<"auth_md_registered_credential.v0">; authorityCreated: z.ZodLiteral; registrationId: z.ZodString; protectedResource: z.ZodString; claimState: z.ZodEnum<{ proof_gap: "proof_gap"; not_applicable: "not_applicable"; claimed: "claimed"; pre_claim: "pre_claim"; pending_user_claim: "pending_user_claim"; claim_refused: "claim_refused"; }>; scopeTransition: z.ZodEnum<{ proof_gap: "proof_gap"; claim_refused: "claim_refused"; no_scope_change: "no_scope_change"; rotated_credential_ref: "rotated_credential_ref"; scope_widened_requires_rotation: "scope_widened_requires_rotation"; }>; preClaimCredentialRefId: z.ZodNullable; preClaimCredentialRefDigest: z.ZodNullable; postClaimCredentialRefId: z.ZodNullable; postClaimCredentialRefDigest: z.ZodNullable; claimTokenDigest: z.ZodNullable; claimedSubjectDigest: z.ZodNullable; verifiedEmailDigest: z.ZodNullable; rotateOnClaimRequired: z.ZodBoolean; evidenceRefs: z.ZodArray; claimedAt: z.ZodString; redactionProfileRef: z.ZodLiteral<"auth-md-claim:v0-redacted">; secretMaterialIncluded: z.ZodLiteral; piiIncluded: z.ZodLiteral; claimEvidenceDigest: z.ZodString; }, z.core.$strict>; export type AuthMdClaimEvidence = z.infer; export declare const BuildAuthMdClaimEvidenceInputSchema: z.ZodObject<{ registrationId: z.ZodString; protectedResource: z.ZodString; claimState: z.ZodEnum<{ proof_gap: "proof_gap"; not_applicable: "not_applicable"; claimed: "claimed"; pre_claim: "pre_claim"; pending_user_claim: "pending_user_claim"; claim_refused: "claim_refused"; }>; scopeTransition: z.ZodEnum<{ proof_gap: "proof_gap"; claim_refused: "claim_refused"; no_scope_change: "no_scope_change"; rotated_credential_ref: "rotated_credential_ref"; scope_widened_requires_rotation: "scope_widened_requires_rotation"; }>; preClaimCredentialRefId: z.ZodDefault>; preClaimCredentialRefDigest: z.ZodDefault>; postClaimCredentialRefId: z.ZodDefault>; postClaimCredentialRefDigest: z.ZodDefault>; claimToken: z.ZodDefault>; claimedSubject: z.ZodDefault>; verifiedEmail: z.ZodDefault>; rotateOnClaimRequired: z.ZodDefault; evidenceRefs: z.ZodDefault>; claimedAt: z.ZodString; }, z.core.$strict>; export type BuildAuthMdClaimEvidenceInput = z.input; export declare const AuthMdRevocationEvidenceSchema: z.ZodObject<{ evidenceKind: z.ZodLiteral<"auth_md_revocation">; profile: z.ZodLiteral<"auth_md_registered_credential.v0">; authorityCreated: z.ZodLiteral; registrationId: z.ZodString; protectedResource: z.ZodString; gatewayCredentialRefId: z.ZodString; gatewayCredentialRefDigest: z.ZodString; revocationEventKind: z.ZodEnum<{ ambiguous: "ambiguous"; logout_jwt: "logout_jwt"; explicit_revocation: "explicit_revocation"; downstream_401: "downstream_401"; credential_expired: "credential_expired"; metadata_drift: "metadata_drift"; }>; revocationReasonCode: z.ZodString; providerEventDigest: z.ZodNullable; logoutJwtDigest: z.ZodNullable; downstreamStatusDigest: z.ZodNullable; isolationRecommended: z.ZodLiteral; futurePolicyAndGatewayUseAllowed: z.ZodLiteral; evidenceRefs: z.ZodArray; observedAt: z.ZodString; redactionProfileRef: z.ZodLiteral<"auth-md-revocation:v0-redacted">; secretMaterialIncluded: z.ZodLiteral; piiIncluded: z.ZodLiteral; revocationEvidenceDigest: z.ZodString; }, z.core.$strict>; export type AuthMdRevocationEvidence = z.infer; export declare const BuildAuthMdRevocationEvidenceInputSchema: z.ZodObject<{ registrationId: z.ZodString; protectedResource: z.ZodString; gatewayCredentialRefId: z.ZodString; gatewayCredentialRefDigest: z.ZodString; revocationEventKind: z.ZodEnum<{ ambiguous: "ambiguous"; logout_jwt: "logout_jwt"; explicit_revocation: "explicit_revocation"; downstream_401: "downstream_401"; credential_expired: "credential_expired"; metadata_drift: "metadata_drift"; }>; revocationReasonCode: z.ZodString; providerEvent: z.ZodDefault>; logoutJwt: z.ZodDefault>; downstreamStatus: z.ZodDefault>; evidenceRefs: z.ZodDefault>; observedAt: z.ZodString; }, z.core.$strict>; export type BuildAuthMdRevocationEvidenceInput = z.input; export declare const BuildAuthMdGatewayCredentialIntakeInputSchema: z.ZodObject<{ tenantId: z.ZodString; organizationId: z.ZodString; principalId: z.ZodDefault>; gatewayId: z.ZodString; gatewayRegistryEntryId: z.ZodString; registrationId: z.ZodString; protectedResourceMetadataDigest: z.ZodString; authorizationServerMetadataDigest: z.ZodString; protectedResource: z.ZodString; authorizationServer: z.ZodString; identityFlow: z.ZodEnum<{ anonymous: "anonymous"; identity_assertion: "identity_assertion"; user_claimed: "user_claimed"; }>; credentialType: z.ZodEnum<{ api_key: "api_key"; access_token: "access_token"; }>; scopes: z.ZodArray; credentialMaterial: z.ZodString; credentialLifecycleState: z.ZodDefault>; claimState: z.ZodDefault>; idJagIssuer: z.ZodDefault>; idJagSubject: z.ZodDefault>; idJagAudience: z.ZodDefault>; idJagJti: z.ZodDefault>; idJagAssurancePosture: z.ZodDefault>>; idJagJwksOrCimdRef: z.ZodDefault>; issuedAt: z.ZodString; expiresAt: z.ZodDefault>; registeredAt: z.ZodString; gatewayCredentialRefId: z.ZodOptional; protectedSurfaceKind: z.ZodDefault; actionClasses: z.ZodDefault>; resourceNamespaceRef: z.ZodOptional; custodyStatus: z.ZodDefault>; resolverRef: z.ZodDefault; resolverVersion: z.ZodDefault; }, z.core.$strict>; export type BuildAuthMdGatewayCredentialIntakeInput = z.input; export type AuthMdGatewayCredentialIntake = { registrationEvidence: AuthMdRegistrationEvidence; credentialRefInput: RegisterGatewayCredentialRefInput; }; export declare function buildAuthMdDiscoveryEvidence(inputValue: BuildAuthMdDiscoveryEvidenceInput): Promise; export declare function buildAuthMdGatewayCredentialIntake(inputValue: BuildAuthMdGatewayCredentialIntakeInput): Promise; export declare function buildAuthMdIdentityAssertionEvidence(inputValue: BuildAuthMdIdentityAssertionEvidenceInput): Promise; export declare function buildAuthMdClaimEvidence(inputValue: BuildAuthMdClaimEvidenceInput): Promise; export declare function buildAuthMdRevocationEvidence(inputValue: BuildAuthMdRevocationEvidenceInput): Promise; export declare function authMdGatewayCredentialBindingFor(credentialRef: GatewayCredentialRef, credentialUseName?: string): { credentialUseName: string; gatewayCredentialRefId: string; gatewayCredentialRefDigest: string; providerRegistryRef: string; providerRegistryDigest: string | null; requiredCredentialCustodyStatus: "unknown" | "gateway_held" | "fixture_gateway_held" | "gateway_resolved_from_vault" | "provider_gateway_held" | "unsafe_agent_visible" | "unsafe_runtime_visible" | "agent_has_raw_credential" | "shared_or_unknown" | "no_mutation_credential"; evidenceExpectationRefs: string[]; }; export declare function normalizeProtectedResourceMetadata(value: AuthMdProtectedResourceMetadataWire): AuthMdProtectedResourceMetadata; export declare function normalizeAuthorizationServerMetadata(value: AuthMdAuthorizationServerMetadataWire): AuthMdAuthorizationServerMetadata; export declare function normalizeAgentAuthMetadata(value: AuthMdAgentAuthMetadataWire): AuthMdAgentAuthMetadata; export declare function assertNoLeakedAuthMdCredentialMaterial(value: unknown): void; export declare function assertAuthMdDiscoveryChainMatches(protectedResourceMetadata: AuthMdProtectedResourceMetadata, authorizationServerMetadata: AuthMdAuthorizationServerMetadata): void; export declare function assertAuthMdAudienceMatchesProtectedResource(audience: string, protectedResource: string, authorizationServer?: string | null): void; export declare function authMdProtectedResourceRef(protectedResource: string): string; export declare function authMdResourceNamespaceRef(protectedResource: string): string; export declare function authMdProviderRegistryRef(protectedResource: string, registrationId: string): string; export declare function authMdEvidenceRef(kind: "discovery" | "authorization-server" | "identity-assertion" | "registration" | "claim" | "revocation", digest: string): string;