Comparing version 4.1.1 to 4.1.2
@@ -1,2 +0,2 @@ | ||
// Type definitions for bwip-js 4.1.1 (2023-08-29) | ||
// Type definitions for bwip-js 4.1.2 (2023-11-01) | ||
// | ||
@@ -20,3 +20,3 @@ // THIS DEFINITION FILE IS MACHINE GENERATED - DO NOT EDIT | ||
export namespace BwipJs { | ||
declare namespace BwipJs { | ||
export interface BwippOptions { | ||
@@ -188,2 +188,4 @@ includecheck?: boolean | undefined; | ||
} | ||
export function toSVG(opts: RenderOptions): string; | ||
export function drawingSVG(): DrawingContext<string>; | ||
@@ -195,2 +197,4 @@ // platform-specific exports | ||
export function request(req: Request, res: Response, opts?: RenderOptions): void; | ||
export function drawingZlibPng(): DrawingContext<Promise<Buffer>>; | ||
export function drawingZlibPng(callback: ToBufferCallback): DrawingContext<void>; | ||
@@ -200,444 +204,444 @@ | ||
export function auspost(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function auspost(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function auspost(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function auspost<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function auspost<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function azteccode(opts: RenderOptions): Promise<Buffer>; | ||
export function azteccode(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function azteccode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function azteccode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function azteccode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function azteccode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function azteccodecompact(opts: RenderOptions): Promise<Buffer>; | ||
export function azteccodecompact(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function azteccodecompact(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function azteccodecompact(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function azteccodecompact<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function azteccodecompact<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function aztecrune(opts: RenderOptions): Promise<Buffer>; | ||
export function aztecrune(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function aztecrune(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function aztecrune(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function aztecrune<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function aztecrune<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function bc412(opts: RenderOptions): Promise<Buffer>; | ||
export function bc412(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function bc412(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function bc412(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function bc412<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function bc412<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function channelcode(opts: RenderOptions): Promise<Buffer>; | ||
export function channelcode(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function channelcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function channelcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function channelcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function channelcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function codablockf(opts: RenderOptions): Promise<Buffer>; | ||
export function codablockf(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function codablockf(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function codablockf(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function codablockf<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function codablockf<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code11(opts: RenderOptions): Promise<Buffer>; | ||
export function code11(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function code11(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code11(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code11<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code11<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code128(opts: RenderOptions): Promise<Buffer>; | ||
export function code128(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function code128(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code128(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code128<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code128<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code16k(opts: RenderOptions): Promise<Buffer>; | ||
export function code16k(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function code16k(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code16k(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code16k<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code16k<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code2of5(opts: RenderOptions): Promise<Buffer>; | ||
export function code2of5(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function code2of5(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code2of5(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code2of5<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code2of5<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code32(opts: RenderOptions): Promise<Buffer>; | ||
export function code32(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function code32(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code32(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code32<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code32<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code39(opts: RenderOptions): Promise<Buffer>; | ||
export function code39(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function code39(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code39(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code39<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code39<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code39ext(opts: RenderOptions): Promise<Buffer>; | ||
export function code39ext(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function code39ext(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code39ext(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code39ext<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code39ext<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code49(opts: RenderOptions): Promise<Buffer>; | ||
export function code49(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function code49(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code49(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code49<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code49<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code93(opts: RenderOptions): Promise<Buffer>; | ||
export function code93(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function code93(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code93(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code93<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code93<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code93ext(opts: RenderOptions): Promise<Buffer>; | ||
export function code93ext(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function code93ext(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code93ext(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code93ext<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code93ext<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function codeone(opts: RenderOptions): Promise<Buffer>; | ||
export function codeone(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function codeone(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function codeone(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function codeone<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function codeone<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function coop2of5(opts: RenderOptions): Promise<Buffer>; | ||
export function coop2of5(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function coop2of5(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function coop2of5(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function coop2of5<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function coop2of5<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function daft(opts: RenderOptions): Promise<Buffer>; | ||
export function daft(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function daft(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function daft(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function daft<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function daft<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarexpanded(opts: RenderOptions): Promise<Buffer>; | ||
export function databarexpanded(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function databarexpanded(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarexpanded(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarexpanded<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarexpanded<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarexpandedcomposite(opts: RenderOptions): Promise<Buffer>; | ||
export function databarexpandedcomposite(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function databarexpandedcomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarexpandedcomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarexpandedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarexpandedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarexpandedstacked(opts: RenderOptions): Promise<Buffer>; | ||
export function databarexpandedstacked(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function databarexpandedstacked(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarexpandedstacked(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarexpandedstacked<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarexpandedstacked<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarexpandedstackedcomposite(opts: RenderOptions): Promise<Buffer>; | ||
export function databarexpandedstackedcomposite(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function databarexpandedstackedcomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarexpandedstackedcomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarexpandedstackedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarexpandedstackedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarlimited(opts: RenderOptions): Promise<Buffer>; | ||
export function databarlimited(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function databarlimited(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarlimited(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarlimited<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarlimited<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarlimitedcomposite(opts: RenderOptions): Promise<Buffer>; | ||
export function databarlimitedcomposite(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function databarlimitedcomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarlimitedcomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarlimitedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarlimitedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databaromni(opts: RenderOptions): Promise<Buffer>; | ||
export function databaromni(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function databaromni(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databaromni(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databaromni<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databaromni<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databaromnicomposite(opts: RenderOptions): Promise<Buffer>; | ||
export function databaromnicomposite(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function databaromnicomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databaromnicomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databaromnicomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databaromnicomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarstacked(opts: RenderOptions): Promise<Buffer>; | ||
export function databarstacked(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function databarstacked(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarstacked(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarstacked<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarstacked<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarstackedcomposite(opts: RenderOptions): Promise<Buffer>; | ||
export function databarstackedcomposite(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function databarstackedcomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarstackedcomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarstackedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarstackedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarstackedomni(opts: RenderOptions): Promise<Buffer>; | ||
export function databarstackedomni(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function databarstackedomni(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarstackedomni(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarstackedomni<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarstackedomni<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarstackedomnicomposite(opts: RenderOptions): Promise<Buffer>; | ||
export function databarstackedomnicomposite(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function databarstackedomnicomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarstackedomnicomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarstackedomnicomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarstackedomnicomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databartruncated(opts: RenderOptions): Promise<Buffer>; | ||
export function databartruncated(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function databartruncated(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databartruncated(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databartruncated<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databartruncated<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databartruncatedcomposite(opts: RenderOptions): Promise<Buffer>; | ||
export function databartruncatedcomposite(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function databartruncatedcomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databartruncatedcomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databartruncatedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databartruncatedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function datalogic2of5(opts: RenderOptions): Promise<Buffer>; | ||
export function datalogic2of5(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function datalogic2of5(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function datalogic2of5(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function datalogic2of5<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function datalogic2of5<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function datamatrix(opts: RenderOptions): Promise<Buffer>; | ||
export function datamatrix(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function datamatrix(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function datamatrix(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function datamatrix<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function datamatrix<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function datamatrixrectangular(opts: RenderOptions): Promise<Buffer>; | ||
export function datamatrixrectangular(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function datamatrixrectangular(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function datamatrixrectangular(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function datamatrixrectangular<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function datamatrixrectangular<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function datamatrixrectangularextension(opts: RenderOptions): Promise<Buffer>; | ||
export function datamatrixrectangularextension(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function datamatrixrectangularextension(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function datamatrixrectangularextension(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function datamatrixrectangularextension<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function datamatrixrectangularextension<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function dotcode(opts: RenderOptions): Promise<Buffer>; | ||
export function dotcode(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function dotcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function dotcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function dotcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function dotcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean13(opts: RenderOptions): Promise<Buffer>; | ||
export function ean13(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function ean13(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean13(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean13<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean13<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean13composite(opts: RenderOptions): Promise<Buffer>; | ||
export function ean13composite(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function ean13composite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean13composite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean13composite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean13composite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean14(opts: RenderOptions): Promise<Buffer>; | ||
export function ean14(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function ean14(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean14(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean14<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean14<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean2(opts: RenderOptions): Promise<Buffer>; | ||
export function ean2(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function ean2(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean2(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean2<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean2<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean5(opts: RenderOptions): Promise<Buffer>; | ||
export function ean5(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function ean5(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean5(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean5<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean5<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean8(opts: RenderOptions): Promise<Buffer>; | ||
export function ean8(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function ean8(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean8(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean8<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean8<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean8composite(opts: RenderOptions): Promise<Buffer>; | ||
export function ean8composite(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function ean8composite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean8composite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean8composite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean8composite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function flattermarken(opts: RenderOptions): Promise<Buffer>; | ||
export function flattermarken(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function flattermarken(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function flattermarken(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function flattermarken<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function flattermarken<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1_128(opts: RenderOptions): Promise<Buffer>; | ||
export function gs1_128(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function gs1_128(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1_128(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1_128<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1_128<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1_128composite(opts: RenderOptions): Promise<Buffer>; | ||
export function gs1_128composite(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function gs1_128composite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1_128composite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1_128composite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1_128composite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1_cc(opts: RenderOptions): Promise<Buffer>; | ||
export function gs1_cc(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function gs1_cc(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1_cc(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1_cc<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1_cc<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1datamatrix(opts: RenderOptions): Promise<Buffer>; | ||
export function gs1datamatrix(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function gs1datamatrix(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1datamatrix(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1datamatrix<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1datamatrix<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1datamatrixrectangular(opts: RenderOptions): Promise<Buffer>; | ||
export function gs1datamatrixrectangular(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function gs1datamatrixrectangular(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1datamatrixrectangular(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1datamatrixrectangular<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1datamatrixrectangular<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1dldatamatrix(opts: RenderOptions): Promise<Buffer>; | ||
export function gs1dldatamatrix(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function gs1dldatamatrix(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1dldatamatrix(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1dldatamatrix<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1dldatamatrix<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1dlqrcode(opts: RenderOptions): Promise<Buffer>; | ||
export function gs1dlqrcode(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function gs1dlqrcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1dlqrcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1dlqrcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1dlqrcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1dotcode(opts: RenderOptions): Promise<Buffer>; | ||
export function gs1dotcode(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function gs1dotcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1dotcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1dotcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1dotcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1northamericancoupon(opts: RenderOptions): Promise<Buffer>; | ||
export function gs1northamericancoupon(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function gs1northamericancoupon(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1northamericancoupon(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1northamericancoupon<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1northamericancoupon<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1qrcode(opts: RenderOptions): Promise<Buffer>; | ||
export function gs1qrcode(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function gs1qrcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1qrcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1qrcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1qrcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hanxin(opts: RenderOptions): Promise<Buffer>; | ||
export function hanxin(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function hanxin(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hanxin(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hanxin<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hanxin<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcazteccode(opts: RenderOptions): Promise<Buffer>; | ||
export function hibcazteccode(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function hibcazteccode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcazteccode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcazteccode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcazteccode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibccodablockf(opts: RenderOptions): Promise<Buffer>; | ||
export function hibccodablockf(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function hibccodablockf(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibccodablockf(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibccodablockf<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibccodablockf<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibccode128(opts: RenderOptions): Promise<Buffer>; | ||
export function hibccode128(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function hibccode128(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibccode128(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibccode128<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibccode128<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibccode39(opts: RenderOptions): Promise<Buffer>; | ||
export function hibccode39(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function hibccode39(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibccode39(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibccode39<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibccode39<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcdatamatrix(opts: RenderOptions): Promise<Buffer>; | ||
export function hibcdatamatrix(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function hibcdatamatrix(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcdatamatrix(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcdatamatrix<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcdatamatrix<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcdatamatrixrectangular(opts: RenderOptions): Promise<Buffer>; | ||
export function hibcdatamatrixrectangular(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function hibcdatamatrixrectangular(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcdatamatrixrectangular(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcdatamatrixrectangular<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcdatamatrixrectangular<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcmicropdf417(opts: RenderOptions): Promise<Buffer>; | ||
export function hibcmicropdf417(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function hibcmicropdf417(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcmicropdf417(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcmicropdf417<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcmicropdf417<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcpdf417(opts: RenderOptions): Promise<Buffer>; | ||
export function hibcpdf417(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function hibcpdf417(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcpdf417(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcpdf417<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcpdf417<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcqrcode(opts: RenderOptions): Promise<Buffer>; | ||
export function hibcqrcode(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function hibcqrcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcqrcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcqrcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcqrcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function iata2of5(opts: RenderOptions): Promise<Buffer>; | ||
export function iata2of5(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function iata2of5(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function iata2of5(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function iata2of5<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function iata2of5<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function identcode(opts: RenderOptions): Promise<Buffer>; | ||
export function identcode(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function identcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function identcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function identcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function identcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function industrial2of5(opts: RenderOptions): Promise<Buffer>; | ||
export function industrial2of5(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function industrial2of5(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function industrial2of5(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function industrial2of5<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function industrial2of5<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function interleaved2of5(opts: RenderOptions): Promise<Buffer>; | ||
export function interleaved2of5(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function interleaved2of5(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function interleaved2of5(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function interleaved2of5<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function interleaved2of5<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function isbn(opts: RenderOptions): Promise<Buffer>; | ||
export function isbn(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function isbn(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function isbn(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function isbn<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function isbn<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ismn(opts: RenderOptions): Promise<Buffer>; | ||
export function ismn(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function ismn(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ismn(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ismn<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ismn<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function issn(opts: RenderOptions): Promise<Buffer>; | ||
export function issn(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function issn(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function issn(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function issn<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function issn<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function itf14(opts: RenderOptions): Promise<Buffer>; | ||
export function itf14(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function itf14(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function itf14(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function itf14<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function itf14<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function jabcode(opts: RenderOptions): Promise<Buffer>; | ||
export function jabcode(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function jabcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function jabcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function jabcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function jabcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function japanpost(opts: RenderOptions): Promise<Buffer>; | ||
export function japanpost(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function japanpost(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function japanpost(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function japanpost<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function japanpost<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function kix(opts: RenderOptions): Promise<Buffer>; | ||
export function kix(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function kix(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function kix(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function kix<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function kix<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function leitcode(opts: RenderOptions): Promise<Buffer>; | ||
export function leitcode(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function leitcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function leitcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function leitcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function leitcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function mailmark(opts: RenderOptions): Promise<Buffer>; | ||
export function mailmark(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function mailmark(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function mailmark(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function mailmark<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function mailmark<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function mands(opts: RenderOptions): Promise<Buffer>; | ||
export function mands(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function mands(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function mands(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function mands<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function mands<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function matrix2of5(opts: RenderOptions): Promise<Buffer>; | ||
export function matrix2of5(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function matrix2of5(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function matrix2of5(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function matrix2of5<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function matrix2of5<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function maxicode(opts: RenderOptions): Promise<Buffer>; | ||
export function maxicode(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function maxicode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function maxicode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function maxicode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function maxicode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function micropdf417(opts: RenderOptions): Promise<Buffer>; | ||
export function micropdf417(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function micropdf417(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function micropdf417(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function micropdf417<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function micropdf417<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function microqrcode(opts: RenderOptions): Promise<Buffer>; | ||
export function microqrcode(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function microqrcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function microqrcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function microqrcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function microqrcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function msi(opts: RenderOptions): Promise<Buffer>; | ||
export function msi(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function msi(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function msi(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function msi<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function msi<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function onecode(opts: RenderOptions): Promise<Buffer>; | ||
export function onecode(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function onecode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function onecode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function onecode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function onecode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pdf417(opts: RenderOptions): Promise<Buffer>; | ||
export function pdf417(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function pdf417(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pdf417(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pdf417<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pdf417<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pdf417compact(opts: RenderOptions): Promise<Buffer>; | ||
export function pdf417compact(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function pdf417compact(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pdf417compact(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pdf417compact<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pdf417compact<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pharmacode(opts: RenderOptions): Promise<Buffer>; | ||
export function pharmacode(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function pharmacode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pharmacode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pharmacode2(opts: RenderOptions): Promise<Buffer>; | ||
export function pharmacode2(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function pharmacode2(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pharmacode2(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pharmacode2<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pharmacode2<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pharmacode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pharmacode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function planet(opts: RenderOptions): Promise<Buffer>; | ||
export function planet(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function planet(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function planet(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function planet<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function planet<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function plessey(opts: RenderOptions): Promise<Buffer>; | ||
export function plessey(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function plessey(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function plessey(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function plessey<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function plessey<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function posicode(opts: RenderOptions): Promise<Buffer>; | ||
export function posicode(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function posicode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function posicode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function posicode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function posicode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function postnet(opts: RenderOptions): Promise<Buffer>; | ||
export function postnet(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function postnet(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function postnet(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function postnet<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function postnet<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pzn(opts: RenderOptions): Promise<Buffer>; | ||
export function pzn(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function pzn(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pzn(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pzn<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pzn<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function qrcode(opts: RenderOptions): Promise<Buffer>; | ||
export function qrcode(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function qrcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function qrcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function qrcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function qrcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function rationalizedCodabar(opts: RenderOptions): Promise<Buffer>; | ||
export function rationalizedCodabar(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function rationalizedCodabar(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function rationalizedCodabar(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function rationalizedCodabar<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function rationalizedCodabar<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function raw(opts: RenderOptions): Promise<Buffer>; | ||
export function raw(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function raw(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function raw(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function raw<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function raw<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function rectangularmicroqrcode(opts: RenderOptions): Promise<Buffer>; | ||
export function rectangularmicroqrcode(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function rectangularmicroqrcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function rectangularmicroqrcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function rectangularmicroqrcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function rectangularmicroqrcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function royalmail(opts: RenderOptions): Promise<Buffer>; | ||
export function royalmail(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function royalmail(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function royalmail(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function royalmail<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function royalmail<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function sscc18(opts: RenderOptions): Promise<Buffer>; | ||
export function sscc18(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function sscc18(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function sscc18(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function sscc18<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function sscc18<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function swissqrcode(opts: RenderOptions): Promise<Buffer>; | ||
export function swissqrcode(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function swissqrcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function swissqrcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function swissqrcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function swissqrcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function symbol(opts: RenderOptions): Promise<Buffer>; | ||
export function symbol(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function symbol(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function symbol(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function symbol<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function symbol<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function telepen(opts: RenderOptions): Promise<Buffer>; | ||
export function telepen(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function telepen(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function telepen(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function telepen<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function telepen<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function telepennumeric(opts: RenderOptions): Promise<Buffer>; | ||
export function telepennumeric(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function telepennumeric(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function telepennumeric(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function telepennumeric<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function telepennumeric<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ultracode(opts: RenderOptions): Promise<Buffer>; | ||
export function ultracode(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function ultracode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ultracode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ultracode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ultracode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function upca(opts: RenderOptions): Promise<Buffer>; | ||
export function upca(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function upca(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function upca(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function upca<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function upca<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function upcacomposite(opts: RenderOptions): Promise<Buffer>; | ||
export function upcacomposite(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function upcacomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function upcacomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function upcacomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function upcacomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function upce(opts: RenderOptions): Promise<Buffer>; | ||
export function upce(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function upce(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function upce(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function upce<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function upce<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function upcecomposite(opts: RenderOptions): Promise<Buffer>; | ||
export function upcecomposite(opts: RenderOptions, callback: ToBufferCallback): void; | ||
export function upcecomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function upcecomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function upcecomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function upcecomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
@@ -644,0 +648,0 @@ } |
@@ -1,2 +0,2 @@ | ||
// Type definitions for bwip-js 4.1.1 (2023-08-29) | ||
// Type definitions for bwip-js 4.1.2 (2023-11-01) | ||
// | ||
@@ -16,3 +16,3 @@ // THIS DEFINITION FILE IS MACHINE GENERATED - DO NOT EDIT | ||
export namespace BwipJs { | ||
declare namespace BwipJs { | ||
export interface BwippOptions { | ||
@@ -184,2 +184,4 @@ includecheck?: boolean | undefined; | ||
} | ||
export function toSVG(opts: RenderOptions): string; | ||
export function drawingSVG(): DrawingContext<string>; | ||
@@ -189,4 +191,6 @@ // platform-specific exports | ||
export type DataURL = { width: number; height: number; uri: string }; | ||
export function toDataURL(opts: RenderOptions, callback: ToDataURLCallback) : void; | ||
export function toDataURL(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function toDataURL(opts: RenderOptions): Promise<DataURL>; | ||
export function drawingDataURL(callback: ToDataURLCallback): DrawingContext<void>; | ||
export function drawingDataURL(): DrawingContext<Promise<DataURL>>; | ||
@@ -196,444 +200,444 @@ | ||
export function auspost(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function auspost(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function auspost(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function auspost<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function auspost<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function azteccode(opts: RenderOptions): Promise<DataURL>; | ||
export function azteccode(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function azteccode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function azteccode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function azteccode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function azteccode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function azteccodecompact(opts: RenderOptions): Promise<DataURL>; | ||
export function azteccodecompact(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function azteccodecompact(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function azteccodecompact(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function azteccodecompact<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function azteccodecompact<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function aztecrune(opts: RenderOptions): Promise<DataURL>; | ||
export function aztecrune(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function aztecrune(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function aztecrune(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function aztecrune<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function aztecrune<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function bc412(opts: RenderOptions): Promise<DataURL>; | ||
export function bc412(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function bc412(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function bc412(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function bc412<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function bc412<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function channelcode(opts: RenderOptions): Promise<DataURL>; | ||
export function channelcode(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function channelcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function channelcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function channelcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function channelcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function codablockf(opts: RenderOptions): Promise<DataURL>; | ||
export function codablockf(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function codablockf(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function codablockf(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function codablockf<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function codablockf<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code11(opts: RenderOptions): Promise<DataURL>; | ||
export function code11(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function code11(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code11(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code11<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code11<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code128(opts: RenderOptions): Promise<DataURL>; | ||
export function code128(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function code128(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code128(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code128<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code128<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code16k(opts: RenderOptions): Promise<DataURL>; | ||
export function code16k(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function code16k(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code16k(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code16k<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code16k<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code2of5(opts: RenderOptions): Promise<DataURL>; | ||
export function code2of5(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function code2of5(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code2of5(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code2of5<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code2of5<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code32(opts: RenderOptions): Promise<DataURL>; | ||
export function code32(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function code32(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code32(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code32<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code32<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code39(opts: RenderOptions): Promise<DataURL>; | ||
export function code39(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function code39(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code39(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code39<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code39<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code39ext(opts: RenderOptions): Promise<DataURL>; | ||
export function code39ext(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function code39ext(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code39ext(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code39ext<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code39ext<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code49(opts: RenderOptions): Promise<DataURL>; | ||
export function code49(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function code49(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code49(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code49<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code49<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code93(opts: RenderOptions): Promise<DataURL>; | ||
export function code93(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function code93(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code93(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code93<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code93<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code93ext(opts: RenderOptions): Promise<DataURL>; | ||
export function code93ext(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function code93ext(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code93ext(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code93ext<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code93ext<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function codeone(opts: RenderOptions): Promise<DataURL>; | ||
export function codeone(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function codeone(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function codeone(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function codeone<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function codeone<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function coop2of5(opts: RenderOptions): Promise<DataURL>; | ||
export function coop2of5(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function coop2of5(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function coop2of5(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function coop2of5<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function coop2of5<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function daft(opts: RenderOptions): Promise<DataURL>; | ||
export function daft(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function daft(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function daft(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function daft<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function daft<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarexpanded(opts: RenderOptions): Promise<DataURL>; | ||
export function databarexpanded(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function databarexpanded(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarexpanded(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarexpanded<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarexpanded<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarexpandedcomposite(opts: RenderOptions): Promise<DataURL>; | ||
export function databarexpandedcomposite(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function databarexpandedcomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarexpandedcomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarexpandedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarexpandedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarexpandedstacked(opts: RenderOptions): Promise<DataURL>; | ||
export function databarexpandedstacked(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function databarexpandedstacked(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarexpandedstacked(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarexpandedstacked<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarexpandedstacked<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarexpandedstackedcomposite(opts: RenderOptions): Promise<DataURL>; | ||
export function databarexpandedstackedcomposite(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function databarexpandedstackedcomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarexpandedstackedcomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarexpandedstackedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarexpandedstackedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarlimited(opts: RenderOptions): Promise<DataURL>; | ||
export function databarlimited(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function databarlimited(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarlimited(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarlimited<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarlimited<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarlimitedcomposite(opts: RenderOptions): Promise<DataURL>; | ||
export function databarlimitedcomposite(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function databarlimitedcomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarlimitedcomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarlimitedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarlimitedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databaromni(opts: RenderOptions): Promise<DataURL>; | ||
export function databaromni(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function databaromni(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databaromni(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databaromni<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databaromni<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databaromnicomposite(opts: RenderOptions): Promise<DataURL>; | ||
export function databaromnicomposite(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function databaromnicomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databaromnicomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databaromnicomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databaromnicomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarstacked(opts: RenderOptions): Promise<DataURL>; | ||
export function databarstacked(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function databarstacked(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarstacked(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarstacked<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarstacked<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarstackedcomposite(opts: RenderOptions): Promise<DataURL>; | ||
export function databarstackedcomposite(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function databarstackedcomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarstackedcomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarstackedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarstackedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarstackedomni(opts: RenderOptions): Promise<DataURL>; | ||
export function databarstackedomni(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function databarstackedomni(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarstackedomni(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarstackedomni<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarstackedomni<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarstackedomnicomposite(opts: RenderOptions): Promise<DataURL>; | ||
export function databarstackedomnicomposite(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function databarstackedomnicomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarstackedomnicomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarstackedomnicomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarstackedomnicomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databartruncated(opts: RenderOptions): Promise<DataURL>; | ||
export function databartruncated(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function databartruncated(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databartruncated(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databartruncated<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databartruncated<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databartruncatedcomposite(opts: RenderOptions): Promise<DataURL>; | ||
export function databartruncatedcomposite(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function databartruncatedcomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databartruncatedcomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databartruncatedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databartruncatedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function datalogic2of5(opts: RenderOptions): Promise<DataURL>; | ||
export function datalogic2of5(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function datalogic2of5(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function datalogic2of5(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function datalogic2of5<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function datalogic2of5<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function datamatrix(opts: RenderOptions): Promise<DataURL>; | ||
export function datamatrix(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function datamatrix(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function datamatrix(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function datamatrix<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function datamatrix<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function datamatrixrectangular(opts: RenderOptions): Promise<DataURL>; | ||
export function datamatrixrectangular(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function datamatrixrectangular(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function datamatrixrectangular(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function datamatrixrectangular<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function datamatrixrectangular<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function datamatrixrectangularextension(opts: RenderOptions): Promise<DataURL>; | ||
export function datamatrixrectangularextension(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function datamatrixrectangularextension(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function datamatrixrectangularextension(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function datamatrixrectangularextension<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function datamatrixrectangularextension<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function dotcode(opts: RenderOptions): Promise<DataURL>; | ||
export function dotcode(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function dotcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function dotcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function dotcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function dotcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean13(opts: RenderOptions): Promise<DataURL>; | ||
export function ean13(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function ean13(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean13(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean13<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean13<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean13composite(opts: RenderOptions): Promise<DataURL>; | ||
export function ean13composite(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function ean13composite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean13composite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean13composite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean13composite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean14(opts: RenderOptions): Promise<DataURL>; | ||
export function ean14(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function ean14(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean14(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean14<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean14<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean2(opts: RenderOptions): Promise<DataURL>; | ||
export function ean2(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function ean2(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean2(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean2<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean2<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean5(opts: RenderOptions): Promise<DataURL>; | ||
export function ean5(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function ean5(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean5(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean5<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean5<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean8(opts: RenderOptions): Promise<DataURL>; | ||
export function ean8(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function ean8(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean8(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean8<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean8<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean8composite(opts: RenderOptions): Promise<DataURL>; | ||
export function ean8composite(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function ean8composite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean8composite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean8composite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean8composite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function flattermarken(opts: RenderOptions): Promise<DataURL>; | ||
export function flattermarken(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function flattermarken(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function flattermarken(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function flattermarken<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function flattermarken<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1_128(opts: RenderOptions): Promise<DataURL>; | ||
export function gs1_128(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function gs1_128(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1_128(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1_128<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1_128<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1_128composite(opts: RenderOptions): Promise<DataURL>; | ||
export function gs1_128composite(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function gs1_128composite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1_128composite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1_128composite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1_128composite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1_cc(opts: RenderOptions): Promise<DataURL>; | ||
export function gs1_cc(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function gs1_cc(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1_cc(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1_cc<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1_cc<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1datamatrix(opts: RenderOptions): Promise<DataURL>; | ||
export function gs1datamatrix(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function gs1datamatrix(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1datamatrix(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1datamatrix<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1datamatrix<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1datamatrixrectangular(opts: RenderOptions): Promise<DataURL>; | ||
export function gs1datamatrixrectangular(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function gs1datamatrixrectangular(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1datamatrixrectangular(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1datamatrixrectangular<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1datamatrixrectangular<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1dldatamatrix(opts: RenderOptions): Promise<DataURL>; | ||
export function gs1dldatamatrix(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function gs1dldatamatrix(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1dldatamatrix(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1dldatamatrix<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1dldatamatrix<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1dlqrcode(opts: RenderOptions): Promise<DataURL>; | ||
export function gs1dlqrcode(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function gs1dlqrcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1dlqrcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1dlqrcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1dlqrcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1dotcode(opts: RenderOptions): Promise<DataURL>; | ||
export function gs1dotcode(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function gs1dotcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1dotcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1dotcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1dotcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1northamericancoupon(opts: RenderOptions): Promise<DataURL>; | ||
export function gs1northamericancoupon(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function gs1northamericancoupon(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1northamericancoupon(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1northamericancoupon<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1northamericancoupon<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1qrcode(opts: RenderOptions): Promise<DataURL>; | ||
export function gs1qrcode(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function gs1qrcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1qrcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1qrcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1qrcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hanxin(opts: RenderOptions): Promise<DataURL>; | ||
export function hanxin(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function hanxin(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hanxin(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hanxin<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hanxin<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcazteccode(opts: RenderOptions): Promise<DataURL>; | ||
export function hibcazteccode(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function hibcazteccode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcazteccode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcazteccode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcazteccode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibccodablockf(opts: RenderOptions): Promise<DataURL>; | ||
export function hibccodablockf(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function hibccodablockf(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibccodablockf(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibccodablockf<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibccodablockf<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibccode128(opts: RenderOptions): Promise<DataURL>; | ||
export function hibccode128(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function hibccode128(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibccode128(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibccode128<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibccode128<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibccode39(opts: RenderOptions): Promise<DataURL>; | ||
export function hibccode39(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function hibccode39(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibccode39(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibccode39<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibccode39<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcdatamatrix(opts: RenderOptions): Promise<DataURL>; | ||
export function hibcdatamatrix(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function hibcdatamatrix(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcdatamatrix(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcdatamatrix<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcdatamatrix<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcdatamatrixrectangular(opts: RenderOptions): Promise<DataURL>; | ||
export function hibcdatamatrixrectangular(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function hibcdatamatrixrectangular(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcdatamatrixrectangular(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcdatamatrixrectangular<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcdatamatrixrectangular<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcmicropdf417(opts: RenderOptions): Promise<DataURL>; | ||
export function hibcmicropdf417(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function hibcmicropdf417(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcmicropdf417(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcmicropdf417<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcmicropdf417<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcpdf417(opts: RenderOptions): Promise<DataURL>; | ||
export function hibcpdf417(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function hibcpdf417(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcpdf417(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcpdf417<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcpdf417<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcqrcode(opts: RenderOptions): Promise<DataURL>; | ||
export function hibcqrcode(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function hibcqrcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcqrcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcqrcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcqrcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function iata2of5(opts: RenderOptions): Promise<DataURL>; | ||
export function iata2of5(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function iata2of5(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function iata2of5(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function iata2of5<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function iata2of5<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function identcode(opts: RenderOptions): Promise<DataURL>; | ||
export function identcode(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function identcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function identcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function identcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function identcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function industrial2of5(opts: RenderOptions): Promise<DataURL>; | ||
export function industrial2of5(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function industrial2of5(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function industrial2of5(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function industrial2of5<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function industrial2of5<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function interleaved2of5(opts: RenderOptions): Promise<DataURL>; | ||
export function interleaved2of5(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function interleaved2of5(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function interleaved2of5(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function interleaved2of5<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function interleaved2of5<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function isbn(opts: RenderOptions): Promise<DataURL>; | ||
export function isbn(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function isbn(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function isbn(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function isbn<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function isbn<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ismn(opts: RenderOptions): Promise<DataURL>; | ||
export function ismn(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function ismn(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ismn(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ismn<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ismn<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function issn(opts: RenderOptions): Promise<DataURL>; | ||
export function issn(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function issn(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function issn(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function issn<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function issn<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function itf14(opts: RenderOptions): Promise<DataURL>; | ||
export function itf14(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function itf14(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function itf14(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function itf14<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function itf14<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function jabcode(opts: RenderOptions): Promise<DataURL>; | ||
export function jabcode(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function jabcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function jabcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function jabcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function jabcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function japanpost(opts: RenderOptions): Promise<DataURL>; | ||
export function japanpost(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function japanpost(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function japanpost(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function japanpost<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function japanpost<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function kix(opts: RenderOptions): Promise<DataURL>; | ||
export function kix(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function kix(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function kix(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function kix<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function kix<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function leitcode(opts: RenderOptions): Promise<DataURL>; | ||
export function leitcode(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function leitcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function leitcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function leitcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function leitcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function mailmark(opts: RenderOptions): Promise<DataURL>; | ||
export function mailmark(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function mailmark(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function mailmark(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function mailmark<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function mailmark<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function mands(opts: RenderOptions): Promise<DataURL>; | ||
export function mands(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function mands(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function mands(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function mands<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function mands<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function matrix2of5(opts: RenderOptions): Promise<DataURL>; | ||
export function matrix2of5(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function matrix2of5(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function matrix2of5(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function matrix2of5<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function matrix2of5<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function maxicode(opts: RenderOptions): Promise<DataURL>; | ||
export function maxicode(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function maxicode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function maxicode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function maxicode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function maxicode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function micropdf417(opts: RenderOptions): Promise<DataURL>; | ||
export function micropdf417(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function micropdf417(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function micropdf417(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function micropdf417<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function micropdf417<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function microqrcode(opts: RenderOptions): Promise<DataURL>; | ||
export function microqrcode(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function microqrcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function microqrcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function microqrcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function microqrcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function msi(opts: RenderOptions): Promise<DataURL>; | ||
export function msi(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function msi(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function msi(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function msi<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function msi<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function onecode(opts: RenderOptions): Promise<DataURL>; | ||
export function onecode(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function onecode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function onecode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function onecode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function onecode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pdf417(opts: RenderOptions): Promise<DataURL>; | ||
export function pdf417(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function pdf417(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pdf417(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pdf417<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pdf417<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pdf417compact(opts: RenderOptions): Promise<DataURL>; | ||
export function pdf417compact(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function pdf417compact(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pdf417compact(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pdf417compact<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pdf417compact<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pharmacode(opts: RenderOptions): Promise<DataURL>; | ||
export function pharmacode(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function pharmacode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pharmacode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pharmacode2(opts: RenderOptions): Promise<DataURL>; | ||
export function pharmacode2(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function pharmacode2(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pharmacode2(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pharmacode2<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pharmacode2<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pharmacode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pharmacode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function planet(opts: RenderOptions): Promise<DataURL>; | ||
export function planet(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function planet(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function planet(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function planet<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function planet<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function plessey(opts: RenderOptions): Promise<DataURL>; | ||
export function plessey(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function plessey(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function plessey(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function plessey<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function plessey<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function posicode(opts: RenderOptions): Promise<DataURL>; | ||
export function posicode(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function posicode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function posicode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function posicode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function posicode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function postnet(opts: RenderOptions): Promise<DataURL>; | ||
export function postnet(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function postnet(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function postnet(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function postnet<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function postnet<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pzn(opts: RenderOptions): Promise<DataURL>; | ||
export function pzn(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function pzn(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pzn(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pzn<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pzn<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function qrcode(opts: RenderOptions): Promise<DataURL>; | ||
export function qrcode(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function qrcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function qrcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function qrcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function qrcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function rationalizedCodabar(opts: RenderOptions): Promise<DataURL>; | ||
export function rationalizedCodabar(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function rationalizedCodabar(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function rationalizedCodabar(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function rationalizedCodabar<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function rationalizedCodabar<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function raw(opts: RenderOptions): Promise<DataURL>; | ||
export function raw(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function raw(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function raw(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function raw<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function raw<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function rectangularmicroqrcode(opts: RenderOptions): Promise<DataURL>; | ||
export function rectangularmicroqrcode(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function rectangularmicroqrcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function rectangularmicroqrcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function rectangularmicroqrcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function rectangularmicroqrcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function royalmail(opts: RenderOptions): Promise<DataURL>; | ||
export function royalmail(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function royalmail(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function royalmail(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function royalmail<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function royalmail<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function sscc18(opts: RenderOptions): Promise<DataURL>; | ||
export function sscc18(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function sscc18(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function sscc18(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function sscc18<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function sscc18<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function swissqrcode(opts: RenderOptions): Promise<DataURL>; | ||
export function swissqrcode(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function swissqrcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function swissqrcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function swissqrcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function swissqrcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function symbol(opts: RenderOptions): Promise<DataURL>; | ||
export function symbol(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function symbol(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function symbol(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function symbol<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function symbol<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function telepen(opts: RenderOptions): Promise<DataURL>; | ||
export function telepen(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function telepen(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function telepen(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function telepen<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function telepen<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function telepennumeric(opts: RenderOptions): Promise<DataURL>; | ||
export function telepennumeric(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function telepennumeric(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function telepennumeric(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function telepennumeric<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function telepennumeric<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ultracode(opts: RenderOptions): Promise<DataURL>; | ||
export function ultracode(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function ultracode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ultracode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ultracode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ultracode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function upca(opts: RenderOptions): Promise<DataURL>; | ||
export function upca(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function upca(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function upca(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function upca<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function upca<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function upcacomposite(opts: RenderOptions): Promise<DataURL>; | ||
export function upcacomposite(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function upcacomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function upcacomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function upcacomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function upcacomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function upce(opts: RenderOptions): Promise<DataURL>; | ||
export function upce(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function upce(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function upce(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function upce<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function upce<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function upcecomposite(opts: RenderOptions): Promise<DataURL>; | ||
export function upcecomposite(opts: RenderOptions, callback: ToDataURLCallback): void; | ||
export function upcecomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function upcecomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function upcecomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function upcecomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
@@ -640,0 +644,0 @@ } |
@@ -1,2 +0,2 @@ | ||
// Type definitions for bwip-js 4.1.1 (2023-08-29) | ||
// Type definitions for bwip-js 4.1.2 (2023-11-01) | ||
// | ||
@@ -16,3 +16,3 @@ // THIS DEFINITION FILE IS MACHINE GENERATED - DO NOT EDIT | ||
export namespace BwipJs { | ||
declare namespace BwipJs { | ||
export interface BwippOptions { | ||
@@ -184,342 +184,345 @@ includecheck?: boolean | undefined; | ||
} | ||
export function toSVG(opts: RenderOptions): string; | ||
export function drawingSVG(): DrawingContext<string>; | ||
// platform-specific exports | ||
export function toCanvas(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function drawingCanvas(canvas: string | HTMLCanvasElement): DrawingContext<HTMLCanvasElement>; | ||
export function auspost(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function auspost(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function auspost(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function auspost<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function auspost<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function azteccode(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function azteccode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function azteccode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function azteccode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function azteccode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function azteccodecompact(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function azteccodecompact(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function azteccodecompact(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function azteccodecompact<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function azteccodecompact<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function aztecrune(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function aztecrune(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function aztecrune(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function aztecrune<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function aztecrune<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function bc412(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function bc412(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function bc412(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function bc412<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function bc412<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function channelcode(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function channelcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function channelcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function channelcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function channelcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function codablockf(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function codablockf(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function codablockf(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function codablockf<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function codablockf<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code11(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function code11(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code11(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code11<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code11<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code128(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function code128(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code128(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code128<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code128<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code16k(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function code16k(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code16k(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code16k<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code16k<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code2of5(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function code2of5(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code2of5(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code2of5<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code2of5<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code32(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function code32(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code32(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code32<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code32<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code39(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function code39(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code39(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code39<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code39<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code39ext(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function code39ext(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code39ext(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code39ext<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code39ext<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code49(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function code49(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code49(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code49<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code49<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code93(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function code93(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code93(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code93<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code93<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code93ext(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function code93ext(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code93ext(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function code93ext<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function code93ext<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function codeone(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function codeone(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function codeone(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function codeone<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function codeone<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function coop2of5(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function coop2of5(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function coop2of5(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function coop2of5<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function coop2of5<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function daft(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function daft(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function daft(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function daft<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function daft<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarexpanded(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function databarexpanded(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarexpanded(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarexpanded<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarexpanded<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarexpandedcomposite(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function databarexpandedcomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarexpandedcomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarexpandedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarexpandedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarexpandedstacked(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function databarexpandedstacked(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarexpandedstacked(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarexpandedstacked<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarexpandedstacked<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarexpandedstackedcomposite(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function databarexpandedstackedcomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarexpandedstackedcomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarexpandedstackedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarexpandedstackedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarlimited(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function databarlimited(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarlimited(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarlimited<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarlimited<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarlimitedcomposite(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function databarlimitedcomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarlimitedcomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarlimitedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarlimitedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databaromni(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function databaromni(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databaromni(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databaromni<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databaromni<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databaromnicomposite(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function databaromnicomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databaromnicomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databaromnicomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databaromnicomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarstacked(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function databarstacked(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarstacked(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarstacked<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarstacked<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarstackedcomposite(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function databarstackedcomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarstackedcomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarstackedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarstackedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarstackedomni(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function databarstackedomni(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarstackedomni(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarstackedomni<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarstackedomni<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarstackedomnicomposite(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function databarstackedomnicomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarstackedomnicomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databarstackedomnicomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databarstackedomnicomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databartruncated(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function databartruncated(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databartruncated(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databartruncated<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databartruncated<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databartruncatedcomposite(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function databartruncatedcomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databartruncatedcomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function databartruncatedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function databartruncatedcomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function datalogic2of5(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function datalogic2of5(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function datalogic2of5(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function datalogic2of5<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function datalogic2of5<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function datamatrix(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function datamatrix(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function datamatrix(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function datamatrix<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function datamatrix<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function datamatrixrectangular(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function datamatrixrectangular(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function datamatrixrectangular(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function datamatrixrectangular<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function datamatrixrectangular<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function datamatrixrectangularextension(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function datamatrixrectangularextension(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function datamatrixrectangularextension(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function datamatrixrectangularextension<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function datamatrixrectangularextension<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function dotcode(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function dotcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function dotcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function dotcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function dotcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean13(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function ean13(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean13(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean13<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean13<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean13composite(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function ean13composite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean13composite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean13composite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean13composite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean14(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function ean14(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean14(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean14<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean14<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean2(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function ean2(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean2(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean2<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean2<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean5(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function ean5(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean5(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean5<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean5<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean8(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function ean8(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean8(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean8<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean8<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean8composite(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function ean8composite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean8composite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ean8composite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ean8composite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function flattermarken(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function flattermarken(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function flattermarken(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function flattermarken<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function flattermarken<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1_128(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function gs1_128(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1_128(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1_128<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1_128<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1_128composite(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function gs1_128composite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1_128composite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1_128composite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1_128composite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1_cc(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function gs1_cc(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1_cc(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1_cc<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1_cc<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1datamatrix(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function gs1datamatrix(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1datamatrix(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1datamatrix<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1datamatrix<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1datamatrixrectangular(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function gs1datamatrixrectangular(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1datamatrixrectangular(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1datamatrixrectangular<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1datamatrixrectangular<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1dldatamatrix(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function gs1dldatamatrix(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1dldatamatrix(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1dldatamatrix<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1dldatamatrix<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1dlqrcode(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function gs1dlqrcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1dlqrcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1dlqrcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1dlqrcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1dotcode(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function gs1dotcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1dotcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1dotcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1dotcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1northamericancoupon(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function gs1northamericancoupon(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1northamericancoupon(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1northamericancoupon<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1northamericancoupon<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1qrcode(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function gs1qrcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1qrcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function gs1qrcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function gs1qrcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hanxin(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function hanxin(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hanxin(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hanxin<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hanxin<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcazteccode(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function hibcazteccode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcazteccode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcazteccode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcazteccode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibccodablockf(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function hibccodablockf(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibccodablockf(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibccodablockf<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibccodablockf<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibccode128(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function hibccode128(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibccode128(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibccode128<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibccode128<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibccode39(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function hibccode39(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibccode39(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibccode39<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibccode39<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcdatamatrix(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function hibcdatamatrix(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcdatamatrix(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcdatamatrix<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcdatamatrix<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcdatamatrixrectangular(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function hibcdatamatrixrectangular(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcdatamatrixrectangular(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcdatamatrixrectangular<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcdatamatrixrectangular<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcmicropdf417(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function hibcmicropdf417(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcmicropdf417(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcmicropdf417<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcmicropdf417<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcpdf417(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function hibcpdf417(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcpdf417(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcpdf417<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcpdf417<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcqrcode(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function hibcqrcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcqrcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function hibcqrcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function hibcqrcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function iata2of5(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function iata2of5(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function iata2of5(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function iata2of5<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function iata2of5<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function identcode(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function identcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function identcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function identcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function identcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function industrial2of5(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function industrial2of5(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function industrial2of5(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function industrial2of5<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function industrial2of5<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function interleaved2of5(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function interleaved2of5(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function interleaved2of5(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function interleaved2of5<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function interleaved2of5<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function isbn(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function isbn(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function isbn(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function isbn<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function isbn<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ismn(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function ismn(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ismn(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ismn<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ismn<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function issn(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function issn(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function issn(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function issn<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function issn<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function itf14(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function itf14(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function itf14(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function itf14<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function itf14<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function jabcode(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function jabcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function jabcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function jabcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function jabcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function japanpost(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function japanpost(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function japanpost(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function japanpost<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function japanpost<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function kix(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function kix(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function kix(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function kix<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function kix<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function leitcode(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function leitcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function leitcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function leitcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function leitcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function mailmark(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function mailmark(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function mailmark(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function mailmark<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function mailmark<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function mands(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function mands(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function mands(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function mands<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function mands<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function matrix2of5(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function matrix2of5(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function matrix2of5(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function matrix2of5<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function matrix2of5<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function maxicode(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function maxicode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function maxicode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function maxicode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function maxicode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function micropdf417(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function micropdf417(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function micropdf417(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function micropdf417<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function micropdf417<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function microqrcode(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function microqrcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function microqrcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function microqrcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function microqrcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function msi(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function msi(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function msi(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function msi<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function msi<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function onecode(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function onecode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function onecode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function onecode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function onecode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pdf417(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function pdf417(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pdf417(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pdf417<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pdf417<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pdf417compact(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function pdf417compact(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pdf417compact(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pdf417compact<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pdf417compact<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pharmacode(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function pharmacode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pharmacode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pharmacode2(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function pharmacode2(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pharmacode2(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pharmacode2<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pharmacode2<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pharmacode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pharmacode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function planet(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function planet(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function planet(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function planet<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function planet<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function plessey(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function plessey(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function plessey(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function plessey<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function plessey<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function posicode(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function posicode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function posicode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function posicode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function posicode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function postnet(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function postnet(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function postnet(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function postnet<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function postnet<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pzn(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function pzn(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pzn(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function pzn<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function pzn<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function qrcode(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function qrcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function qrcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function qrcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function qrcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function rationalizedCodabar(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function rationalizedCodabar(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function rationalizedCodabar(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function rationalizedCodabar<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function rationalizedCodabar<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function raw(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function raw(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function raw(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function raw<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function raw<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function rectangularmicroqrcode(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function rectangularmicroqrcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function rectangularmicroqrcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function rectangularmicroqrcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function rectangularmicroqrcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function royalmail(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function royalmail(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function royalmail(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function royalmail<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function royalmail<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function sscc18(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function sscc18(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function sscc18(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function sscc18<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function sscc18<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function swissqrcode(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function swissqrcode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function swissqrcode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function swissqrcode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function swissqrcode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function symbol(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function symbol(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function symbol(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function symbol<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function symbol<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function telepen(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function telepen(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function telepen(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function telepen<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function telepen<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function telepennumeric(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function telepennumeric(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function telepennumeric(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function telepennumeric<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function telepennumeric<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ultracode(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function ultracode(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ultracode(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function ultracode<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function ultracode<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function upca(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function upca(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function upca(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function upca<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function upca<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function upcacomposite(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function upcacomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function upcacomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function upcacomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function upcacomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function upce(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function upce(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function upce(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function upce<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function upce<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function upcecomposite(canvas: string | HTMLCanvasElement, opts: RenderOptions): HTMLCanvasElement; | ||
export function upcecomposite(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function upcecomposite(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
export function upcecomposite<T>(opts: RenderOptions, drawing: DrawingContext<Promise<T>>): Promise<T>; | ||
export function upcecomposite<T>(opts: RenderOptions, drawing: DrawingContext<T>): T; | ||
} | ||
export = BwipJs |
{ | ||
"name": "bwip-js", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"description": "JavaScript barcode generator supporting over 100 types and standards.", | ||
"exports": { | ||
"browser": { | ||
"types": "./dist/bwip-js.d.ts", | ||
"import": "./dist/bwip-js.mjs", | ||
"require": "./dist/bwip-js.js", | ||
"script": "./dist/bwip-js-min.js" | ||
}, | ||
"electron": { | ||
".": { | ||
"browser": { | ||
"types": "./dist/bwip-js.d.ts", | ||
"import": "./dist/bwip-js.mjs", | ||
"require": "./dist/bwip-js.js", | ||
"script": "./dist/bwip-js-min.js" | ||
}, | ||
"electron": { | ||
"node": { | ||
"types": "./dist/bwip-js-node.d.ts", | ||
"import": "./dist/bwip-js-node.mjs", | ||
"require": "./dist/bwip-js-node.js" | ||
}, | ||
"types": "./dist/bwip-js.d.ts", | ||
"import": "./dist/bwip-js.mjs", | ||
"default": "./dist/bwip-js.js" | ||
}, | ||
"react-native": { | ||
"types": "./dist/bwip-js-rn.d.ts", | ||
"default": "./dist/bwip-js-rn.mjs" | ||
}, | ||
"node": { | ||
@@ -17,15 +31,21 @@ "types": "./dist/bwip-js-node.d.ts", | ||
"require": "./dist/bwip-js-node.js" | ||
}, | ||
} | ||
}, | ||
"./browser": { | ||
"types": "./dist/bwip-js.d.ts", | ||
"import": "./dist/bwip-js.mjs", | ||
"default": "./dist/bwip-js.js" | ||
"require": "./dist/bwip-js.js" | ||
}, | ||
"react-native": { | ||
"./node": { | ||
"types": "./dist/bwip-js-node.d.ts", | ||
"import": "./dist/bwip-js-node.mjs", | ||
"require": "./dist/bwip-js-node.js" | ||
}, | ||
"./react-native":{ | ||
"types": "./dist/bwip-js-rn.d.ts", | ||
"default": "./dist/bwip-js-rn.mjs" | ||
}, | ||
"node": { | ||
"types": "./dist/bwip-js-node.d.ts", | ||
"import": "./dist/bwip-js-node.mjs", | ||
"require": "./dist/bwip-js-node.js" | ||
"./generic": { | ||
"types": "./dist/bwip-js-gen.d.ts", | ||
"import": "./dist/bwip-js-gen.mjs" | ||
} | ||
@@ -32,0 +52,0 @@ }, |
@@ -17,3 +17,3 @@ # // Barcode Writer in Pure JavaScript | ||
* Current bwip-js version is 4.1.1 (2023-08-29) | ||
* Current bwip-js version is 4.1.2 (2023-11-01) | ||
* Current BWIPP version is 2023-04-03 | ||
@@ -20,0 +20,0 @@ * Node.js compatibility: 0.12+ |
@@ -16,3 +16,3 @@ // Type definitions for bwip-js __BWIPJS_VERS__ | ||
export namespace BwipJs { | ||
declare namespace BwipJs { | ||
export interface BwippOptions { | ||
@@ -184,2 +184,4 @@ includecheck?: boolean | undefined; | ||
} | ||
export function toSVG(opts: RenderOptions): string; | ||
export function drawingSVG(): DrawingContext<string>; | ||
@@ -186,0 +188,0 @@ // platform-specific exports |
// drawing-builtin.js | ||
// | ||
// The aliased (except the fonts) graphics used by drawing-canvas.js and | ||
// drawing-png.js | ||
// drawing-zlibpng.js | ||
// | ||
@@ -10,5 +10,3 @@ // All x,y and lengths are integer values. | ||
// string with format RRGGBB. | ||
// | ||
// opts is the same options object passed into the bwipjs methods. | ||
function DrawingBuiltin(opts) { | ||
function DrawingBuiltin() { | ||
var floor = Math.floor; | ||
@@ -20,2 +18,3 @@ | ||
var opts; // see setopts() | ||
var gs_image, gs_rowbyte; // rowbyte will be 1 for png's, 0 for canvas | ||
@@ -22,0 +21,0 @@ var gs_width, gs_height; // image size, in pixels |
// drawing-canvas.js | ||
// | ||
// `maybe` maybe the canvas, pre v4.0. | ||
function DrawingCanvas(canvas, maybe) { | ||
// Pre setops() backward compatibility | ||
if (maybe && maybe instanceof HTMLCanvasElement) { | ||
canvas = maybe; | ||
} | ||
// opts is the same options object passed into the bwipjs methods. | ||
function DrawingCanvas(opts, canvas) { | ||
if (typeof window == null) { | ||
throw new Error('DrawingCanvas: not a browser'); | ||
} | ||
var img; | ||
var ctx = canvas.getContext('2d', { willReadFrequently:true }); | ||
var drawing = DrawingBuiltin(opts); | ||
var drawing = DrawingBuiltin(); | ||
@@ -19,2 +19,3 @@ // Provide our specializations for the builtin drawing | ||
// Reflect setopts() into the super | ||
var opts; | ||
var _setopts = drawing.setopts; | ||
@@ -21,0 +22,0 @@ drawing.setopts = function (options) { |
@@ -14,3 +14,3 @@ // drawing-svg.js | ||
// | ||
function DrawingSVG(opts) { | ||
function DrawingSVG() { | ||
// Unrolled x,y rotate/translate matrix | ||
@@ -20,2 +20,3 @@ var tx0 = 0, tx1 = 0, tx2 = 0, tx3 = 0; | ||
var opts; | ||
var svg = ''; | ||
@@ -22,0 +23,0 @@ var path; |
@@ -26,8 +26,12 @@ // drawing-zlibpng.js | ||
// opts is the same options object passed into the bwipjs methods. | ||
function DrawingZlibPng(opts, callback) { | ||
// `maybe` maybe the callback, pre v4.0. | ||
function DrawingZlibPng(callback, maybe) { | ||
// Pre setops() backward compatibility. | ||
if (maybe && typeof maybe == 'function') { | ||
callback = maybe; | ||
} | ||
var image_buffer, image_width, image_height; | ||
// Provide our specializations for the builtin drawing | ||
var drawing = DrawingBuiltin(opts); | ||
var drawing = DrawingBuiltin(); | ||
drawing.image = image; | ||
@@ -37,2 +41,3 @@ drawing.end = end; | ||
// Reflect setopts() into the super | ||
var opts; | ||
var _setopts = drawing.setopts; | ||
@@ -39,0 +44,0 @@ drawing.setopts = function (options) { |
@@ -79,3 +79,3 @@ | ||
try { | ||
_Render(encoder, opts, DrawingZlibPng(opts, callback)); | ||
_Render(encoder, opts, DrawingZlibPng(callback)); | ||
} catch (e) { | ||
@@ -86,4 +86,4 @@ callback(e); | ||
return new Promise(function (resolve, reject) { | ||
_Render(encoder, opts, DrawingZlibPng(opts, function (err, buf) { | ||
err ? reject(err) : resolve(buf); | ||
_Render(encoder, opts, DrawingZlibPng(function (err, buf) { | ||
err ? reject(err) : resolve(buf); | ||
})); | ||
@@ -130,7 +130,7 @@ }); | ||
opts = drawing; | ||
drawing = DrawingCanvas(opts, canvas); | ||
drawing = DrawingCanvas(canvas); | ||
} else if (opts instanceof HTMLCanvasElement) { | ||
var canvas = opts; | ||
opts = drawing; | ||
drawing = DrawingCanvas(opts, canvas); | ||
drawing = DrawingCanvas(canvas); | ||
} else if (typeof drawing == 'string') { | ||
@@ -141,5 +141,5 @@ var canvas = document.getElementById(drawing) || document.querySelector(drawing); | ||
} | ||
drawing = DrawingCanvas(opts, canvas); | ||
drawing = DrawingCanvas(canvas); | ||
} else if (drawing instanceof HTMLCanvasElement) { | ||
drawing = DrawingCanvas(opts, drawing); | ||
drawing = DrawingCanvas(drawing); | ||
} else if (!drawing || typeof drawing != 'object' || !drawing.init) { | ||
@@ -191,3 +191,3 @@ throw new Error('bwipjs: not a canvas or drawing object'); | ||
try { | ||
_Render(encoder, opts, DrawingZlibPng(opts, (err, buf) => { | ||
_Render(encoder, opts, DrawingZlibPng((err, buf) => { | ||
if (err) { | ||
@@ -208,3 +208,3 @@ callback(err); | ||
return new Promise(function (resolve, reject) { | ||
_Render(encoder, opts, DrawingZlibPng(opts, (err, buf) => { | ||
_Render(encoder, opts, DrawingZlibPng((err, buf) => { | ||
if (err) { | ||
@@ -226,3 +226,3 @@ reject(err); | ||
if (callback) { | ||
return DrawingZlibPng(opts, (err, buf) => { | ||
return DrawingZlibPng((err, buf) => { | ||
if (err) { | ||
@@ -240,3 +240,3 @@ callback(err); | ||
return new Promise((resolve, reject) => { | ||
DrawingZlibPng(opts, (err, buf) => { | ||
DrawingZlibPng((err, buf) => { | ||
if (err) { | ||
@@ -274,3 +274,3 @@ reject(err); | ||
function ToSVG(opts) { | ||
return _Render(bwipp_lookup(opts.bcid), opts, DrawingSVG(opts)); | ||
return _Render(bwipp_lookup(opts.bcid), opts, DrawingSVG()); | ||
} | ||
@@ -411,3 +411,2 @@ | ||
return bw.render(); | ||
} | ||
@@ -431,3 +430,7 @@ | ||
// The drawing interface is just needed for the pre-init() calls. | ||
var bw = new BWIPJS(DrawingBuiltin({})); | ||
// Don't need to fixup the options - drawing specific. | ||
var drawing = DrawingBuiltin(); | ||
drawing.setopts(options); | ||
var bw = new BWIPJS(drawing); | ||
var stack = bwipp_encode(bw, bwipp_lookup(bcid), text, options, true); | ||
@@ -434,0 +437,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11396559
52
196829
15