@metamask/ocap-kernel
Version:
OCap kernel core components
14 lines • 497 B
text/typescript
import type { KRef } from "../../types.cjs";
import type { StoreContext } from "../types.cjs";
/**
* 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.cts.map