{"version":3,"sources":["src/common.speech/ServiceMessages/SpeechHypothesis.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,iBAAiB;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,gBAAiB,YAAW,iBAAiB;IACtD,OAAO,CAAC,oBAAoB,CAAoB;IAEhD,OAAO;WAIO,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,gBAAgB;aAI3C,IAAI,EAAI,MAAM;aAId,MAAM,EAAI,MAAM;aAIhB,QAAQ,EAAI,MAAM;CAGhC","file":"SpeechHypothesis.d.ts","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\n\n// speech.hypothesis\nexport interface ISpeechHypothesis {\n    Text: string;\n    Offset: number;\n    Duration: number;\n}\n\nexport class SpeechHypothesis implements ISpeechHypothesis {\n    private privSpeechHypothesis: ISpeechHypothesis;\n\n    private constructor(json: string) {\n        this.privSpeechHypothesis = JSON.parse(json);\n    }\n\n    public static fromJSON(json: string): SpeechHypothesis {\n        return new SpeechHypothesis(json);\n    }\n\n    public get Text(): string {\n        return this.privSpeechHypothesis.Text;\n    }\n\n    public get Offset(): number {\n        return this.privSpeechHypothesis.Offset;\n    }\n\n    public get Duration(): number {\n        return this.privSpeechHypothesis.Duration;\n    }\n}\n"]}