UNPKG

@botonic/plugin-flow-builder

Version:

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

16 lines (15 loc) 937 B
import { BotonicContext, BotServerMessage } from '@botonic/core'; import { CarouselMessage } from '@botonic/shared'; import { FlowBuilderApi } from '../api'; import { ContentFieldsBase } from './content-fields-base'; import { FlowElement } from './flow-element'; import { HtCarouselNode } from './hubtype-fields'; export declare class FlowCarousel extends ContentFieldsBase { whatsappText: string; elements: FlowElement[]; static fromHubtypeCMS(component: HtCarouselNode, locale: string, cmsApi: FlowBuilderApi): FlowCarousel; trackFlow(botonicContext: BotonicContext): Promise<void>; static fromAIAgent(id: string, carouselMessage: CarouselMessage, botonicContext: BotonicContext): Promise<BotServerMessage<import("@botonic/shared").OutputMessageType>>; processContent(botonicContext: BotonicContext): Promise<import(".").FlowContent>; toBotonic(botonicContext: BotonicContext): Promise<BotServerMessage>; }