UNPKG

@metamask/ocap-kernel

Version:
19 lines 685 B
import type { Infer } from "@metamask/superstruct"; import type { DeliverSpec, DeliverHandler } from "./deliver.mjs"; import type { InitVatSpec, InitVatHandler } from "./initVat.mjs"; import type { PingSpec, PingHandler } from "./ping.mjs"; export declare const vatHandlers: { deliver: DeliverHandler; initVat: InitVatHandler; ping: PingHandler; }; export declare const vatMethodSpecs: { deliver: DeliverSpec; initVat: InitVatSpec; ping: PingSpec; }; type Handlers = (typeof vatHandlers)[keyof typeof vatHandlers]; export type VatMethod = Handlers['method']; export type PingVatResult = Infer<PingSpec['result']>; export {}; //# sourceMappingURL=index.d.mts.map