import * as formatters2 from './tools/formatters'; import { PrinterLanguage } from './languages/base-printer-language'; /** * Used by {@link Receipt} to print empty lines * @param printer - The printer language to use * @param chunk - The empty chunk to print */ export declare function procEmpty(printer: PrinterLanguage, chunk: formatters2.empty): void; /** * Used by {@link Receipt} to print a horizontal ruler * @param printer - The printer language to be used * @param width - How many characters the ruler should be */ export declare function procRuler(printer: PrinterLanguage, width?: number): void; /** * Used by {@link Receipt} to print text row on the page. * It can also be used to handle direct ZPL commands. * When the text contains special characters (like arabic), it is preferred to use {@link procLine} instead * @param printer - The printer language to use * @param chunk - The text chunk to print * @param maxWidth - The max width of the text to print. This is not used for now * */ export declare function procText(printer: PrinterLanguage, chunk: formatters2.text, maxWidth?: number): void; /** * Used by {@link Receipt} to print a line of text, by rendering each word separately. * It can also be used to handle direct ZPL commands. * This method is preferred over {@link procText} when the text contains special characters (like arabic) * @param printer - The printer language to use * @param chunk - The line chunk to print */ export declare function procLine(printer: PrinterLanguage, chunk: formatters2.line): void; /** * Used by {@link Receipt} to generate a list of columns from provided data * @param printer - The printer language to use * @param chunk - The columns to print * */ export declare function procColumns(printer: PrinterLanguage, chunk: formatters2.columns): string; /** * Used by {@link Receipt} to merge several images into a single image * @param printer - The printer language to use * @param chunk - The images to print * */ export declare function procImageRow(printer: PrinterLanguage, chunk: formatters2.imageRow): Promise; /** * Used by {@link Receipt} to print a grid * @param printer - The printer language to use * @param chunk - the grid to print * @param overrideWidth - The width of the grid. If not specified, the default page width is used */ export declare function procGrid(printer: PrinterLanguage, chunk: formatters2.grid, overrideWidth?: number): void; /** * Used by {@link Receipt} to print properties * @param printer - The printer language to use * @param chunk - The properties to print */ export declare function procProps(printer: PrinterLanguage, chunk: formatters2.properties): void; /** * Used by {@link Receipt} to print an image * @param printer - The printer language to use * @param chunk - The image to print */ export declare function procImage(printer: PrinterLanguage, chunk: formatters2.image): void; /** * Used by {@link Receipt} to print barcodes using ZPL commands * @param printer - The printer language to use * @param chunk - The barcode chunk to print */ export declare function procBarcode(printer: PrinterLanguage, chunk: formatters2.barcode): void; /** * Used by {@link Receipt} to change printer configuration * @param printer - The printer language to use * @param chunk - The configuration to apply */ export declare function procConfig(printer: PrinterLanguage, chunk: formatters2.ConfigurationChunk): void; export declare function procTemplate(printer: PrinterLanguage, chunk: formatters2.template): void;