export interface RevocationEntry { credentialId: string; issuer: string; subject: string; revokedAt: string; reason?: string; } export interface RevocationList { version: number; issuer: string; lastUpdated: string; revoked: RevocationEntry[]; } export declare class RevocationRegistry { private basePath; constructor(basePath: string); private getListPath; /** * Initialize revocation directory */ init(): Promise; /** * Load revocation list for an issuer */ private loadList; /** * Save revocation list */ private saveList; /** * Revoke a credential */ revoke(credentialId: string, issuerDid: string, subjectDid: string, reason?: string): Promise; /** * Check if a credential is revoked */ isRevoked(credentialId: string, issuerDid: string): Promise; /** * Get revocation status for a credential */ getStatus(credentialId: string, issuerDid: string): Promise; /** * List all revoked credentials for an issuer */ listRevoked(issuerDid: string): Promise; /** * Generate a revocation status for embedding in credentials * Returns a hash of the credential ID that can be checked against the registry */ generateStatusId(credentialId: string): string; } //# sourceMappingURL=revocation.d.ts.map