declare const _default: { /** * @property {number} The ZDLE constant, which ZMODEM uses for escaping */ ZDLE: number; /** * @property {number} XON - ASCII XON */ XON: number; /** * @property {number} XOFF - ASCII XOFF */ XOFF: number; /** * @property {number[]} ABORT_SEQUENCE - ZMODEM’s abort sequence */ ABORT_SEQUENCE: number[]; /** * Remove octet values from the given array that ZMODEM always ignores. * This will mutate the given array. * * @param {number[]} octets - The octet values to transform. * Each array member should be an 8-bit unsigned integer (0-255). * This object is mutated in the function. * * @returns {number[]} The passed-in array. This is the same object that is * passed in. */ stripIgnoredBytes(octets: number[]): number[]; /** * Like Array.prototype.indexOf, but searches for a subarray * rather than just a particular value. * * @param {Array} haystack - The array to search, i.e., the bigger. * * @param {Array} needle - The array whose values to find, * i.e., the smaller. * * @returns {number} The position in “haystack” where “needle” * first appears—or, -1 if “needle” doesn’t appear anywhere * in “haystack”. */ findSubarray(haystack: number[], needle: number[]): number; }; export default _default;