import { ConfigurationChunk, chunkOptions, image, imageOptions } from '../tools/formatters'; import { PrinterLanguage } from './base-printer-language'; import * as utils from '../tools/utils'; import * as formatters2 from '../tools/formatters'; /** * @beta * This class implements the CPCL printer language. * * IMPORTANT: This printer language is not ready for public use, due to lack of testing. */ export declare class CpclLinePrintLanguage extends PrinterLanguage { constructor(); /** @ignore */ protected lines: Array; updateCoordinates(xCoord?: number, zCoord?: number): void; /** Used to track the current Z coordinate of the receipt. This is later * used to calculate the total document height */ private currentCoord; private getCurentCoordinates; private setCoordinates; /** * This method can be used to change the default configuration of the printer * @param fontHeight - The new font height in dots. * @param fontWidth - The new font width in dots. * @param lineSpacing - The new line spacing in dots. * @param font - The new font to use (not applicable for CPCL). */ changeDefaultConfiguration(fontHeight?: number, fontWidth?: number, lineSpacing?: number, font?: string): void; printHorizRuler(ruler: string): void; printQrCode(qrContent: string): void; printLine(line: Array): void; printDocument(): string; printDocumentAsync(): Promise; printImage(imageData: any, width: number, height: number, alignment: utils.Alignment, options: imageOptions): void; init(config: any): void; changeConfiguration(chunk: ConfigurationChunk): void; printBarcode(barcodeData: string, barcodeType: utils.Barcode, height: number, width: number, offset: number, alignment: utils.Alignment, options?: formatters2.barcodeOptions): void; renderWord(word: string, options: chunkOptions): string; printImageRow(images: Array, width: number, height: number, alignment: utils.Alignment, options?: imageOptions): Promise; }