import type { AuthorityDelegationV1, AuthorityFailure } from './types.js'; export declare function isCanonicalTimestamp(value: unknown): value is string; /** * String-order comparison of two canonical timestamps. * * RFC 3339 section 5.1: timestamps in the same format (all UTC "Z", same * number of fractional digits) sort as strings into time order, so this * compares the strings directly rather than going through Date.parse (which * returns NaN for a leap-second ":60" value). Second 60 is valid only at * 23:59 on the last day of its month (RFC 3339 section 5.7 and Appendix D). * Defined only for values that have already passed isCanonicalTimestamp. */ export declare function compareCanonicalTimestamps(a: string, b: string): number; export declare function isCanonicalQuantity(value: unknown): value is string; /** * Closed-schema and canonical-value validation for an in-memory decoded record. * * Snapshots `value` to plain JSON data first (see plain-data.ts) and runs every check * below against that snapshot only, so a getter or a Proxy trap in the caller's * argument is read at most once and cannot answer this function's checks differently * from the value this function actually returns failures about. */ export declare function validateAuthorityDelegationShape(value: unknown): AuthorityFailure[]; export declare function isAuthorityDelegationV1(value: unknown): value is AuthorityDelegationV1; //# sourceMappingURL=schema.d.ts.map