import type { Nullable } from '@voiceflow/common'; import type { StepButtonsLayout } from '../button/index.js'; import type { NodeType } from './constants.js'; import type { BaseNoMatchStepData, BaseNoReplyStepData, BaseStep, BaseStepNoMatch, DataID, NoMatchNoReplyStepPorts, StepIntentScope } from './utils/index.js'; /** * @deprecated use `actions` instead */ export declare enum ButtonAction { URL = "URL", PATH = "PATH", INTENT = "INTENT" } export interface Button extends DataID { name: string; intent?: Nullable; /** * @deprecated use `actions` instead */ url?: Nullable; /** * @deprecated use `actions` instead */ actions: ButtonAction[]; /** * @deprecated use `actions` instead */ diagramID?: Nullable; } export interface StepData extends StepButtonsLayout, BaseNoReplyStepData, StepIntentScope, BaseNoMatchStepData { buttons: Button[]; /** * @deprecated use noMatch instead */ else?: BaseStepNoMatch; } export interface StepPorts extends NoMatchNoReplyStepPorts { } export interface Step extends BaseStep { type: NodeType.BUTTONS; platform?: string; } //# sourceMappingURL=buttons.d.ts.map