import type * as client from '@botpress/client'; import type { BotSpecificClient } from '../../bot'; import type * as typeUtils from '../../utils/type-utils'; import type { BaseBot } from '../common'; import * as botServerTypes from '../server/types'; import type { WorkflowProxy, ActionableWorkflow } from './types'; export declare const proxyWorkflows: (props: { client: BotSpecificClient | client.Client; pluginAlias?: string; }) => WorkflowProxy; export declare const wrapWorkflowInstance: >(props: { client: BotSpecificClient | client.Client; workflow: client.Workflow; event?: botServerTypes.WorkflowUpdateEvent; onWorkflowUpdate?: (newState: client.Workflow) => Promise | void; pluginAlias?: string; }) => ActionableWorkflow;