/// <reference types="node" />
import { Bits } from '../types';
declare const _default: (buffer: Buffer, offset?: number, length?: number | undefined) => Bits;
/**
 * Returns an Array containing bitLength bits starting at bitOffset.
 *
 * @example
 * readBuffer(buffer, 2, 4) => [0,0,1,0]
 *
 * @param {Buffer} buffer the buffer to read
 * @param {Number} offset where to start (in bits)
 * @param {Number} length how many bits to read
 * @returns {Array}
 */
export default _default;
