import { Ctx, ErrCtx, InvokeResult, Val } from "./types"; export type InvokeOutput = { type: "message" | "error"; text: string; }[]; export declare const parensRx: RegExp; export declare function invoker(ctx: Ctx, code: string, id?: string, params?: Val[], printResult?: boolean): { output: InvokeOutput; result: InvokeResult; }; export declare function functionInvoker(ctx: Ctx, name: string, params: Val[], printResult?: boolean): { output: InvokeOutput; result?: InvokeResult; }; export declare function valueInvoker(ctx: Ctx, errCtx: ErrCtx, val: Val, params: Val[]): { output: InvokeOutput; result: InvokeResult; };