import { Obj } from './types'; /** Class that represents a ZMODEM header. */ declare class ZmodemHeaderBase { _hex_header_ending: number[]; TYPENUM: number; NAME: string; _bytes4: number[]; /** * Return the octet values array that represents the object * in ZMODEM hex encoding. * * @returns {number[]} An array of octet values suitable for sending * as binary data. */ to_hex(): number[]; /** * Return the octet values array that represents the object * in ZMODEM binary encoding with a 16-bit CRC. * * @param {ZDLE} zencoder - A ZDLE instance to use for * ZDLE encoding. * * @returns {number[]} An array of octet values suitable for sending * as binary data. */ to_binary16(zencoder: any): number[]; get_options(): Obj; get_offset(): number; get_buffer_size(): any; can_full_duplex(): boolean; can_overlap_io(): boolean; escape_8th_bit(): boolean; escape_ctrl_chars(): boolean; /** * Return the octet values array that represents the object * in ZMODEM binary encoding with a 32-bit CRC. * * @param {ZDLE} zencoder - A ZDLE instance to use for * ZDLE encoding. * * @returns {number[]} An array of octet values suitable for sending * as binary data. */ to_binary32(zencoder: any): number[]; _to_binary(zencoder: any, prefix: number[], crcFunc: (data: number[]) => number[]): number[]; _crc_bytes(): number[]; } export default ZmodemHeaderBase;