UNPKG

@botonic/plugin-flow-builder

Version:

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

13 lines (12 loc) 560 B
import type { BotonicContext } from '@botonic/core'; import type { FlowBuilderApi } from './api'; import { type FlowContent } from './content-fields'; import { type HtNodeComponent } from './content-fields/hubtype-fields'; export declare class FlowFactory { botonicContext: BotonicContext; cmsApi: FlowBuilderApi; locale: string; constructor(botonicContext: BotonicContext, cmsApi: FlowBuilderApi, locale: string); getFlowContent(hubtypeContent: HtNodeComponent): Promise<FlowContent | undefined>; private resolveFlowFunctionContent; }