/**
* Generate the HMS error code for a given attribute and code.
* @param attr - The attribute of the error code provided by the printer.
* @param code - The code of the error code provided by the printer.
* @returns The HMS error code with no spaces.
*/
export declare function getErrorCode(attr: number, code: number): string;
/**
* Get the error message for a given HMS error code.
* @param code - The HMS error code.
* @returns The error message for the given HMS error code, if known. Otherwise, "Unknown error."
*/
export declare function getErrorMessage(code: string): string;
export declare const errorCodes: {
[key: string]: string;
};