import type { CompiledCMSVariable } from '../../cms/variables.js'; import type { AnyRecord, Nullable } from '@voiceflow/common'; import type { BaseCommand, Intent, PrototypeModel, Slot } from '../base/index.js'; import type { FunctionCompiledDefinition } from '../functionDefinition.js'; export interface PrototypeStackFrame { nodeID?: Nullable; diagramID: string; storage?: AnyRecord; commands?: Command[]; variables?: AnyRecord; } export interface PrototypeContext { turn?: AnyRecord; stack?: PrototypeStackFrame[]; storage?: AnyRecord; variables?: AnyRecord; } export interface PrototypeMessageDelay { durationMilliseconds: number; } export interface PrototypeData { name: string; locales: Locale[]; messageDelay?: PrototypeMessageDelay; } export interface PrototypeSettings { avatar?: string; layout?: string; buttons?: string; password?: string; brandColor?: string; brandImage?: string; hasPassword?: boolean; buttonsOnly?: boolean; hasBranding?: boolean; variableStateID?: string; } export type SurveyContext = { slotsMap: Record; extraSlots: Slot[]; extraIntents: Intent[]; usedIntentsSet: string[]; cmsVariables?: Record; functionDefinitions?: Record; platform: PlatformType; /** * @deprecated */ usedFunctionsMap?: Record; } & SurveyContextExtension; export interface Prototype { type: string; data: PrototypeData; model: PrototypeModel; context: PrototypeContext; platform: string; settings: PrototypeSettings; surveyorContext: SurveyContext; } //# sourceMappingURL=prototype.d.ts.map