UNPKG

labelmake

Version:

PDF generation library of declarative style programing.

11 lines (10 loc) 418 B
/// <reference types="node" /> import { BarCodeType } from "./type"; export declare const validateBarcodeInput: (type: BarCodeType, input: string) => boolean; export declare const createBarCode: ({ type, input, width, height, backgroundColor, }: { type: BarCodeType; input: string | null; width: number; height: number; backgroundColor?: string | undefined; }) => Promise<Buffer | null>;