import type { NostrEvent } from './types.js'; export interface ValidityResult { valid: boolean; reason?: 'revoked' | 'expired' | 'not-yet-active' | 'claim-expired'; } /** * Check whether an attestation event is currently valid. * Checks revocation, NIP-40 expiration, valid_from, and valid_to. * Revocation always takes precedence. * * @param event - The attestation event to check * @param now - Unix timestamp to check against (defaults to current time) */ export declare function isValid(event: NostrEvent, now?: number): ValidityResult; //# sourceMappingURL=validity.d.ts.map