UNPKG

@metamask/ocap-kernel

Version:
14 lines 443 B
import type { VatId, RemoteId, EndpointId } from "../../types.mjs"; import type { StoreContext } from "../types.mjs"; /** * Create a store for allocating IDs. * * @param ctx - The store context. * @returns The ID store. */ export declare function getIdMethods(ctx: StoreContext): { getNextVatId: () => VatId; getNextRemoteId: () => RemoteId; initEndpoint: (endpointId: EndpointId) => void; }; //# sourceMappingURL=id.d.mts.map