"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceSpeechToText",o="Speech-to-text input component with real-time transcription.",n="tools",s="1.0.0",c="stable",i=[{name:"onResult",type:"(text: string) => void",required:!0,description:"Result callback"},{name:"language",type:"string",default:"'en-US'",description:"Recognition language"},{name:"continuous",type:"boolean",default:"false",description:"Continuous recognition"},{name:"interimResults",type:"boolean",default:"true",description:"Show interim results"},{name:"onStart",type:"() => void",description:"Start callback"},{name:"onEnd",type:"() => void",description:"End callback"},{name:"onError",type:"(error: Error) => void",description:"Error callback"},{name:"showButton",type:"boolean",default:"true",description:"Show microphone button"}],r=[{title:"Speech to Text",description:"Voice input",code:`<NiceSpeechToText
  onResult={(text) => setInput(text)}
  language="en-US"
  continuous
  interimResults
  onError={(e) => showError(e)}
/>`}],a={keyboard:["Space to toggle recording"],aria:["Recording status","Transcript announcements"]},p=[],l={$schema:e,name:t,description:o,category:n,since:s,status:c,props:i,examples:r,accessibility:a,seeAlso:p};exports.$schema=e;exports.accessibility=a;exports.category=n;exports.default=l;exports.description=o;exports.examples=r;exports.name=t;exports.props=i;exports.seeAlso=p;exports.since=s;exports.status=c;
