UNPKG

@metamask/ocap-kernel

Version:
14 lines 497 B
import type { KRef } from "../../types.mjs"; import type { StoreContext } from "../types.mjs"; /** * Get the methods that provide functionality for managing object revocation. * * @param ctx - The store context. * @returns The revocation methods. */ export declare const getRevocationMethods: (ctx: StoreContext) => { setRevoked: (koId: KRef, revoked: boolean) => void; revoke: (koId: KRef) => void; isRevoked: (koId: KRef) => boolean; }; //# sourceMappingURL=revocation.d.mts.map