export type Format = 'CODE39' | 'CODE128' | 'CODE128A' | 'CODE128B' | 'CODE128C' | 'EAN13' | 'EAN8' | 'EAN5' | 'EAN2' | 'UPC' | 'UPCE' | 'ITF14' | 'ITF' | 'MSI' | 'MSI10' | 'MSI11' | 'MSI1010' | 'MSI1110' | 'pharmacode' | 'codabar' | 'GenericBarcode'; export type Binary = { data?: string; text?: string; options?: { height?: number; fontSize?: string; }; }; export type DefaultOptions = { format: Format; width: number; height: number; background: string; color: string; displayValue: boolean; }; export type GuardableOptions = DefaultOptions & { format: 'EAN8' | 'EAN13' | 'UPC' | 'UPCE'; flat: boolean; }; export type EAN13Options = DefaultOptions & { format: 'EAN13'; flat: boolean; lastChar: boolean; }; export type Options = DefaultOptions | GuardableOptions | EAN13Options; export type Fonts = { font: string; fontSize: number; fontStyle: 'normal' | 'italic'; fontWeight: 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900'; textAlign: 'left' | 'center' | 'right'; textMargin: number; textColor?: string; }; export type BarValue = { x: number; y: number; w: number; h: number; }; export type Constructor = { value: string; options?: Partial; margin?: number; marginTop?: number; marginBottom?: number; marginLeft?: number; marginRight?: number; }; export declare const defaults: { value: string; options: Options & Fonts; }; //# sourceMappingURL=definitions.d.ts.map