UNPKG

@botonic/plugin-flow-builder

Version:

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

18 lines (17 loc) 823 B
import type { BotonicContext } from '@botonic/core'; import { ContentFieldsBase } from '../content-fields-base'; import { type HtCondition, type HtCustomConditionalV2Node, type HtNodeLink, VariableFormat } from '../hubtype-fields'; export declare class FlowCustomConditionalV2 extends ContentFieldsBase { variableFormat: VariableFormat; keyPath: string; conditions: HtCondition[]; defaultTarget?: HtNodeLink; customResult: string; resolvedOperator: string; static fromHubtypeCMS(component: HtCustomConditionalV2Node, botonicContext: BotonicContext): FlowCustomConditionalV2; private setFollowUp; private evaluateConditions; trackFlow(botonicContext: BotonicContext): Promise<void>; processContent(botonicContext: BotonicContext): Promise<void>; toBotonic(): Promise<void>; }