UNPKG

@metamask/ocap-kernel

Version:
17 lines 656 B
import type { EndpointId, KRef } from "../../types.cjs"; import type { StoreContext } from "../types.cjs"; /** * 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.cts.map