/************************************************************************** * IMPORTS ***************************************************************************/ import { CrispClass as Crisp } from "./index"; /************************************************************************** * CLASS ***************************************************************************/ /** * Scenario variables forwarded to workflow templates. Values must be strings, * numbers or booleans (they are coerced to strings by the workflow runtime) * and become available inside the scenario as `{{ key }}` templates. */ export type ScenarioVariables = Record; /** * Crisp scenario management */ export default class CrispScenario { private parent; /** * Constructor */ constructor(crisp: Crisp); /** * Runs a bot scenario by name, with optional template variables */ run(name: string, variables?: ScenarioVariables): void; }