@botonic/plugin-flow-builder
Version:
Botonic plugin for **Hubtype Flow Builder**: run and bridge flow-driven logic from bots on the **current** line.
17 lines (16 loc) • 623 B
TypeScript
import type { BotonicContext } from '@botonic/core';
import type { HtCaptureUserInputNode } from '../content-fields/hubtype-fields';
interface AiCaptureResponseSuccess {
success: true;
value: string;
}
interface AiCaptureResponseFailure {
success: false;
}
export type AiCaptureResponse = AiCaptureResponseSuccess | AiCaptureResponseFailure;
export declare class CaptureUserInputClient {
private botonicContext;
constructor(botonicContext: BotonicContext);
getCaptureUserInputResponse(captureUserInputNode: HtCaptureUserInputNode, textOrTranscript: string): Promise<AiCaptureResponse>;
}
export {};