UNPKG

@botonic/plugin-flow-builder

Version:

Botonic plugin for **Hubtype Flow Builder**: run and bridge flow-driven logic from bots on the **current** line.

12 lines (11 loc) 604 B
import { BotonicContext } from '@botonic/core'; import { HtFunctionArgument, HtFunctionArguments, HtFunctionNode } from '../content-fields/hubtype-fields'; export declare const DEFAULT_FUNCTION_NAMES: string[]; export declare class CustomFunction { functions: Record<any, any>; botonicContext: BotonicContext; locale: string; constructor(functions: Record<any, any>, botonicContext: BotonicContext, locale: string); call(functionNode: HtFunctionNode): Promise<string>; } export declare function getArgumentsByLocale(args: HtFunctionArguments[], locale: string): HtFunctionArgument[];