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