export interface ExecuteCommand { type: "execute"; code: string; } export interface LLMResponseMessage { type: "llm_response"; results: string[]; } export interface InjectCommand { type: "inject"; name: string; value: string; value_type: "str" | "list" | "dict"; } export interface ResetCommand { type: "reset"; } export interface ShutdownCommand { type: "shutdown"; } export type NodeToPython = ExecuteCommand | LLMResponseMessage | InjectCommand | ResetCommand | ShutdownCommand; export interface FinalSignal { type: "var" | "inline"; value: string; } export interface ExecuteResult { type: "execute_result"; stdout: string; stderr: string; variables: string[]; final?: FinalSignal; error?: string; } export interface LLMRequest { type: "llm_request"; request_type: "llm_query" | "llm_query_batched" | "rlm_query" | "rlm_query_batched" | "web_search" | "fetch_url" | "generate_image" | "pg_search" | "pg_slice" | "pg_time" | "pg_count" | "pg_query"; prompts: string[]; model?: string; } export interface ReadyMessage { type: "ready"; } export type PythonToNode = ExecuteResult | LLMRequest | ReadyMessage; //# sourceMappingURL=ipc.d.ts.map