@metamask/ocap-kernel
Version:
OCap kernel core components
17 lines • 656 B
text/typescript
import type { EndpointId, KRef } from "../../types.mjs";
import type { StoreContext } from "../types.mjs";
/**
* Get the reachable methods that provide functionality for managing reachable flags.
*
* @param ctx - The store context.
* @returns The reachable methods.
*/
export declare function getReachableMethods(ctx: StoreContext): {
getReachableFlag: (endpointId: EndpointId, kref: KRef) => boolean;
getReachableAndVatSlot: (endpointId: EndpointId, kref: KRef) => {
isReachable: boolean;
vatSlot: string;
};
clearReachableFlag: (endpointId: EndpointId, kref: KRef) => void;
};
//# sourceMappingURL=reachable.d.mts.map