export default class Generator { private modality; private readonly _max_characters_per_line; private font_size; private commands; private _page_table; constructor(max_characters_per_line?: number); setModality(modality: string): this; init(): string | (string | number)[] | this | undefined; selectCharacterCodeTable(esc_pos_number?: number, page_table?: string): string | (string | number)[] | this | undefined; newLine(line?: number): string | (string | number)[] | this | undefined; text(text: string): string | (string | number)[] | this | undefined; align(where: string | number): string | (string | number)[] | this | undefined; cutPaper(modality?: string, feed?: number): string | (string | number)[] | this | undefined; bold(on?: boolean): string | (string | number)[] | this | undefined; font(n?: number): string | (string | number)[] | this | undefined; lineHeight(n?: number): string | (string | number)[] | this | undefined; toArray(united?: boolean): any[]; _rightModality(command: Array | string): string | (string | number)[] | this | undefined; _textToBytes(text: string): unknown[]; get maxCharactersPerLine(): number; static get MODALITY_CLASS(): string; static get MODALITY_ARRAY(): string; static get MODALITY_DIRECT(): string; static get LEFT(): string; static get CENTER(): string; static get RIGHT(): string; static get CUT_PAPER_PARTIAL(): string; static get CUT_PAPER_FULL(): string; static get FONT_NORMAL(): number; static get FONT_DOUBLE(): number; static get FONT_TRIPLE(): number; }