@voiceflow/voiceflow-types
Version:
Voiceflow 'voiceflow' project types
22 lines • 650 B
TypeScript
import { Language } from './base';
export declare enum IntentName {
NO = "VF.NO",
YES = "VF.YES",
STOP = "VF.STOP",
NEXT = "VF.NEXT",
HELP = "VF.HELP",
PAUSE = "VF.PAUSE",
CANCEL = "VF.CANCEL",
RESUME = "VF.RESUME",
REPEAT = "VF.REPEAT",
PREVIOUS = "VF.PREVIOUS",
START_OVER = "VF.START_OVER",
NONE = "None"
}
export interface DefaultIntent {
name: string;
samples: string[];
}
export declare const findDefaultIntent: (language: Language, name: string) => DefaultIntent | undefined;
export declare const DEFAULT_INTENTS_MAP: Record<string, DefaultIntent[]>;
//# sourceMappingURL=intent.d.ts.map