The present disclosure provides a pharmaceutical preparation of a compound of formula (I) or a stereoisomer, pharmaceutically acceptable salt, or prodrug thereof. The present disclosure further provides a method for general anesthesia or sedation for mammals. Also provided are kits and manufactured products of the medicament and the pharmaceutical composition and a method for using the medicament and the pharmaceutical composition.