import type { NoydbStore } from '../../kernel/types.js'; import { type EnclaveKey } from '../../kernel/enclave/index.js'; import { type RevocationList } from '@noy-db/attestation'; /** Everything the revoke core needs from the Vault, injected for testability. */ export interface RevokeContext { readonly store: NoydbStore; readonly vault: string; readonly role: string; /** The _attestations collection DEK. */ getDEK(): Promise; } export declare function revokeDocCore(ctx: RevokeContext, docId: string): Promise; export declare function unrevokeDocCore(ctx: RevokeContext, docId: string): Promise; export declare function getRevokedDocIdsCore(ctx: RevokeContext): Promise; export declare function publishRevocationListCore(ctx: RevokeContext): Promise;