import type { AnyRecord, Nullable } from '@voiceflow/common'; import type { NodeType } from './constants'; import type { BaseEvent, BaseNode, BasePort, BasePortList, BaseStep, BaseStepPorts, NodeID } from './utils'; interface StepData { stop?: boolean; payload: Payload; defaultPath?: number; } export interface StepPort extends BasePort { data: { event?: Event; }; } interface StepPorts extends BaseStepPorts>, StepPort[]> { } export interface Step extends BaseStep, StepPorts, BasePortList>> { type: NodeType.CHANNEL_ACTION; } interface NodePath { label?: string; event?: Event; nextID: Nullable; } export interface Node extends BaseNode { type: NodeType.CHANNEL_ACTION; data: { name: string; payload: AnyRecord; }; stop: boolean; defaultPath?: number; paths: Array>; platform?: string; } export {}; //# sourceMappingURL=channelAction.d.ts.map