File size: 330 Bytes
fcd8223
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
/** Minimal Gateway request surface consumed by the reusable node-host runtime. */
import type { GatewayClientRequestOptions } from "../gateway/client.js";

export type NodeHostClient = {
  request<T = Record<string, unknown>>(
    method: string,
    params?: unknown,
    opts?: GatewayClientRequestOptions,
  ): Promise<T>;
};