{"version":3,"sources":["src/common.speech/ServiceMessages/KeywordDetection/KeywordDetection.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,oBAAoB;IAC5B;;OAEG;IACH,YAAY,iBAAiB;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,oBAAY,cAAc;IACtB;;OAEG;IACH,SAAS,cAAc;IAEvB;;OAEG;IACH,QAAQ,aAAa;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACrB;;OAEG;IACH,MAAM,EAAE,cAAc,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,IAAI,EAAE,oBAAoB,CAAC;IAE3B;;OAEG;IACH,sBAAsB,EAAE,qBAAqB,EAAE,CAAC;IAEhD;;OAEG;IACH,QAAQ,EAAE,QAAQ,CAAC;CACtB","file":"KeywordDetection.d.ts","sourcesContent":["/**\n * Represents the type of keyword detection.\n */\nexport enum KeywordDetectionType {\n    /**\n     * Triggered at the start of input.\n     */\n    StartTrigger = \"StartTrigger\"\n}\n\n/**\n * Represents a keyword detected by the client.\n */\nexport interface ClientDetectedKeyword {\n    /**\n     * The text of the detected keyword.\n     */\n    text: string;\n\n    /**\n     * The confidence score of the detection.\n     */\n    confidence?: number;\n\n    /**\n     * The start offset in 100-nanoseconds.\n     */\n    startOffset?: number;\n\n    /**\n     * The duration in 100-nanoseconds.\n     */\n    duration?: number;\n}\n\n/**\n * The action to take when a keyword is rejected.\n */\nexport enum OnRejectAction {\n    /**\n     * End the current turn.\n     */\n    EndOfTurn = \"EndOfTurn\",\n\n    /**\n     * Continue processing.\n     */\n    Continue = \"Continue\"\n}\n\n/**\n * Settings for handling keyword rejection.\n */\nexport interface OnReject {\n    /**\n     * The action to take on keyword rejection.\n     */\n    action: OnRejectAction;\n}\n\n/**\n * Represents keyword detection configuration.\n */\nexport interface KeywordDetection {\n    /**\n     * The type of keyword detection.\n     */\n    type: KeywordDetectionType;\n\n    /**\n     * Keywords detected by the client.\n     */\n    clientDetectedKeywords: ClientDetectedKeyword[];\n\n    /**\n     * Settings for handling keyword rejection.\n     */\n    onReject: OnReject;\n}\n"]}