import { Component, L10n, ModuleDeclaration } from '@syncfusion/ej2-base';
import { INotifyPropertyChanged, EmitType } from '@syncfusion/ej2-base';
import { RenderingMode, BarcodeType, BarcodeExportType } from './enum/enum';
import { BarcodeGeneratorModel } from './barcode-model';
import { DisplayTextModel } from './primitives/displaytext-model';
import { MarginModel } from './primitives/margin-model';
/**
* Represents the Barcode control
* ```html
*
* ```
* ```typescript
* let barcode: Barcode = new Barcode({
* width:'1000px', height:'500px' });
* barcode.appendTo('#barcode');
* ```
*/
export declare class BarcodeGenerator extends Component implements INotifyPropertyChanged {
/**
* Defines the width of the barcode model.
* ```html
*
* ```
* ```typescript
* let barcode: Barcode = new Barcode({
* width:'1000px', height:'500px' });
* barcode.appendTo('#barcode');
* ```
*
* @default '100%'
*/
width: string | number;
/**
* Defines the height of the barcode model.
* ```html
*
* ```
* ```typescript
* let barcode: Barcode = new Barcode({
* height:'1000px', height:'500px' });
* barcode.appendTo('#barcode');
* ```
*
* @default '100'
*
*/
height: string | number;
/**
* Defines the barcode rendering mode.
* * SVG - Renders the bar-code objects as SVG elements
* * Canvas - Renders the bar-code in a canvas
*
* @default 'SVG'
*
*/
mode: RenderingMode;
/**
* Defines the type of barcode to be rendered.
*
* @default 'Code128'
*
*/
type: BarcodeType;
/**
* Defines the value of the barcode to be rendered.
*
* @default undefined
*
*/
value: string;
/**
* Defines the checksum for the barcode.
*
* @default 'true'
*
*/
enableCheckSum: boolean;
/**
* Defines the text properties for the barcode.
*
* @default ''
*
*/
displayText: DisplayTextModel;
/**
* Defines the margin properties for the barcode.
*
* @default ''
*
*/
margin: MarginModel;
/**
* Defines the background color of the barcode.
*
* @default 'white'
*
*/
backgroundColor: string;
/**
* Defines the forecolor of the barcode.
*
* @default 'black'
*
*/
foreColor: string;
/**
* Triggers if you enter any invalid character.
*
* @event
*/
invalid: EmitType