/** * Wire 0.2 verification warning codes and collector (v0.12.0-preview.1) * * Warning codes are append-only stable string literals. Warnings do NOT affect * the allow/deny decision unless caller policy requires it. * * Warnings MUST be sorted by (pointer ascending, code ascending); * undefined pointer sorts before any string value. * * RFC 6901 JSON Pointer escaping: '/' in keys is escaped as '~1', '~' as '~0'. */ import type { VerificationWarning } from '@peac/kernel'; /** type claim does not match any registered type in the receipt_types registry */ export declare const WARNING_TYPE_UNREGISTERED: "type_unregistered"; /** Unknown extension key was encountered and preserved (no schema validation) */ export declare const WARNING_UNKNOWN_EXTENSION: "unknown_extension_preserved"; /** occurred_at is after iat by more than zero but within the tolerance window */ export declare const WARNING_OCCURRED_AT_SKEW: "occurred_at_skew"; /** JWS typ header was absent; interop mode accepted the token without typ */ export declare const WARNING_TYP_MISSING: "typ_missing"; /** Registered type has a mapped extension group, but that group is absent from extensions */ export declare const WARNING_EXTENSION_GROUP_MISSING: "extension_group_missing"; /** Registered type has a mapped extension group, but a different registered group is present instead */ export declare const WARNING_EXTENSION_GROUP_MISMATCH: "extension_group_mismatch"; /** * Sort warnings by (pointer ascending, code ascending). * Warnings with undefined pointer sort before those with a defined pointer. * * @param warnings - Array of VerificationWarning objects to sort * @returns New array sorted in canonical order */ export declare function sortWarnings(warnings: VerificationWarning[]): VerificationWarning[]; //# sourceMappingURL=wire-02-warnings.d.ts.map