@voiceflow/voice-types
Version:
Voiceflow voice project types
13 lines • 530 B
TypeScript
import type { BaseNode, Nullable } from '@voiceflow/base-types';
import type { StepNoMatch, StepNoReply, StepReprompt } from './utils.js';
export interface StepData<Voice> extends BaseNode.Buttons.StepData, StepReprompt<Voice> {
noReply?: Nullable<StepNoReply<Voice>>;
noMatch?: Nullable<StepNoMatch<Voice>>;
/**
* @deprecated use noMatch instead
*/
else?: StepNoMatch<Voice>;
}
export interface Step<Data = StepData<unknown>> extends BaseNode.Buttons.Step<Data> {
}
//# sourceMappingURL=buttons.d.ts.map