import type { VerificationSource, VerificationSourceValidation } from './types.js'; export type { VerificationSource, VerificationSourceValidation } from './types.js'; /** * Validate a VerificationSource. Fail closed. * * Rules, all mechanical: * - verified_at_ms must be a finite number greater than zero. * - 'resolver' requires resolver_origin, an https:// origin string. * - 'pinned' requires BOTH pin_populated_at_ms (finite, > 0, not later * than verified_at_ms) and pin_populated_via. A pin that cannot say * what populated it carries no usable posture, so it is invalid * rather than silently treated as fresh. * - 'inline' must not carry resolver_origin or the pin fields; method- * mismatched fields are a malformed record, not extra detail. * - pin_populated_via on a non-pinned method is invalid, likewise * resolver_origin on a non-resolver method. */ export declare function validateVerificationSource(source: VerificationSource): VerificationSourceValidation; /** * Construct a VerificationSource, refusing invalid combinations. The * returned object carries ONLY the keys appropriate to the method, so a * record built here never introduces explicitly-undefined keys into a * canonicalization path. */ export declare function buildVerificationSource(input: { method: 'inline' | 'pinned' | 'resolver'; verified_at_ms: number; resolver_origin?: string; pin_populated_at_ms?: number; pin_populated_via?: 'inline' | 'resolver'; }): VerificationSource; //# sourceMappingURL=index.d.ts.map