UNPKG

@metamask/ocap-kernel

Version:
19 lines 685 B
import type { Infer } from "@metamask/superstruct"; import type { DeliverSpec, DeliverHandler } from "./deliver.cjs"; import type { InitVatSpec, InitVatHandler } from "./initVat.cjs"; import type { PingSpec, PingHandler } from "./ping.cjs"; 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.cts.map