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) 719 B
import { BotonicContext, BotServerMessage } from '@botonic/core'; import { ContentFieldsBase } from './content-fields-base'; import { FlowButton } from './flow-button'; import { HtRatingNode, RatingType } from './hubtype-fields'; export declare class FlowRating extends ContentFieldsBase { text: string; sendButtonText: string; type: RatingType; buttons: FlowButton[]; openListButtonText: string; static fromHubtypeCMS(cmsText: HtRatingNode, locale: string): FlowRating; trackFlow(botonicContext: BotonicContext): Promise<void>; processContent(botonicContext: BotonicContext): Promise<import(".").FlowContent>; toBotonic(botonicContext: BotonicContext): Promise<BotServerMessage>; }