import { FPrinterRCH } from "../../constants/RCH/fprinter.RCH"; import { RCHProtocol } from "../../constants/RCH/RCH.type"; export declare class RCHXmlHttpClient extends FPrinterRCH.Client { private static XML_ROOT; private static XML_BODY; private static XML_REQ; /** * send Command to fiscal printer * @param commands */ executeCommand(commands: RCHProtocol.Commands): Promise; /** * send to the printer server * @param xmlDoc * @returns */ private send; /** * Request Message Format: * * * * ... * * * @param xmlDoc * @returns */ private parseRequest; /** * Response Message Format: * * * * 0 0 0 0 2 0 * * * @param xmlStr */ private parseResponse; /** * convert `RCHProtocol.Command` to the object that printer server supports. * @param commands * @returns */ private convertCommandToXmlDoc; }