UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

31 lines • 1.1 kB
import "../../config-contracts--zSNHFlu.js"; import { r as OpenClawConfig } from "../../types.openclaw-A0y1x1SF.js"; import "../../gateway-runtime-BMybWxmX.js"; import { i as GatewayRpcOpts } from "../../gateway-rpc-DXn8az76.js"; import { Command } from "commander"; type CanvasHostConfig = { enabled?: boolean; }; type CanvasPluginConfig = { host?: CanvasHostConfig; }; export declare function parseCanvasPluginConfig(value: unknown): CanvasPluginConfig; export declare function resolveCanvasHostConfig(params: { config?: OpenClawConfig; pluginConfig?: Record<string, unknown>; }): CanvasHostConfig; export declare function isCanvasHostEnabled(config?: OpenClawConfig): boolean; export declare const canvasConfigSchema: { parse: typeof parseCanvasPluginConfig; }; type CanvasNodesRpcOpts = GatewayRpcOpts & { node?: string; invokeTimeout?: string; target?: string; x?: string; y?: string; width?: string; height?: string; }; export declare function registerNodesCanvasCommands(nodes: Command): void; export type { CanvasHostConfig, CanvasNodesRpcOpts, CanvasPluginConfig };