import React from 'react';
import { ViewProps } from 'react-native';
type BarcodeFormat = 'CODE39' | 'CODE128' | 'CODE128A' | 'CODE128B' | 'CODE128C' | 'EAN13' | 'EAN8' | 'EAN5' | 'EAN2' | 'UPC' | 'UPCE' | 'ITF14' | 'ITF' | 'MSI' | 'MSI10' | 'MSI11' | 'MSI1010' | 'MSI1110' | 'pharmacode' | 'codabar' | 'GenericBarcode';
interface BarcodeOptions {
    format?: BarcodeFormat;
    lineColor?: string;
    flat?: boolean;
    value: string;
    width?: number;
    height?: number;
}
interface Props extends BarcodeOptions, ViewProps {
}
export declare const barcodeToSvg: (options: BarcodeOptions) => string;
declare const Barcode: (props: Props) => React.JSX.Element;
export default Barcode;
