import { Buffer } from 'node:buffer'; /** * Packs image data with specified color type and bit depth */ export declare function bitPacker(dataIn: Buffer, width: number, height: number, options: BitpackOptions): Buffer; declare interface BitpackOptions { colorType: number inputColorType: number bitDepth: 8 | 16 inputHasAlpha?: boolean bgColor?: { red?: number green?: number blue?: number } } // Default export for backward compatibility export default bitPacker;