@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) • 825 B
TypeScript
import type { BotonicContext } from '@botonic/core';
import type { BotonicCarouselElement } from '@botonic/shared';
import type { FlowBuilderApi } from '../api';
import { ContentFieldsBase } from './content-fields-base';
import { FlowButton } from './flow-button';
import type { HtCarouselElement } from './hubtype-fields';
export declare class FlowElement extends ContentFieldsBase {
title: string;
subtitle: string;
button: FlowButton | undefined;
image: string;
hidden: boolean;
static fromHubtypeCMS(component: HtCarouselElement, locale: string, cmsApi: FlowBuilderApi): FlowElement;
trackFlow(botonicContext: BotonicContext): Promise<void>;
processContent(botonicContext: BotonicContext): Promise<void>;
addElementToBotonic(botonicContext?: BotonicContext): BotonicCarouselElement;
}