@metamask/ocap-kernel
Version:
OCap kernel core components
14 lines • 443 B
text/typescript
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