import { BCGBarcode1D, draw } from 'barcode-bakery-common'; /** * Constructor. */ declare class BCGcode11 extends BCGBarcode1D { constructor(); /** * Draws the barcode. * * @param image The surface. */ draw(image: draw.Surface): void; /** * Returns the maximal size of a barcode. * [0]->width * [1]->height * * @param width The width. * @param height The height. * @return An array, [0] being the width, [1] being the height. */ getDimension(width: number, height: number): [number, number]; /** * Validates the input. */ protected validate(): void; /** * Overloaded method to calculate checksum. */ protected calculateChecksum(): void; /** * Overloaded method to display the checksum. * * @return The checksum value. */ protected processChecksum(): string | null; private getIndexLength; } export { BCGcode11 };