UNPKG

@metamask/ocap-kernel

Version:
10 lines 602 B
import type { HandlerRecord, MethodRequest, MethodSpecRecord } from "@metamask/kernel-rpc-methods"; import { pingHandler, pingSpec } from "../vat/ping.cjs"; export declare const kernelHandlers: HandlerRecord<typeof pingHandler>; export declare const kernelMethodSpecs: MethodSpecRecord<typeof pingSpec>; type Handlers = (typeof kernelHandlers)[keyof typeof kernelHandlers]; export type KernelMethod = Handlers['method']; export type KernelMethodSpec = (typeof kernelMethodSpecs)['ping']; export type KernelMethodRequest = MethodRequest<KernelMethodSpec>; export {}; //# sourceMappingURL=index.d.cts.map