/** @format */ import { NativeEventEmitter } from "react-native"; export interface PrinterOptions { beep?: boolean; cut?: boolean; tailingLine?: boolean; encoding?: string; } export interface IUSBPrinter { device_name: string; vendor_id: string; product_id: string; } export interface IBLEPrinter { device_name: string; inner_mac_address: string; } export interface INetPrinter { device_name: string; host: string; port: number; } export declare const USBPrinter: { init: () => Promise; getDeviceList: () => Promise; connectPrinter: (vendorId: string, productId: string) => Promise; closeConn: () => Promise; printText: (text: string, opts?: PrinterOptions) => void; printBill: (text: string, opts?: PrinterOptions) => void; }; export declare const BLEPrinter: { init: () => Promise; getDeviceList: () => Promise; connectPrinter: (inner_mac_address: string) => Promise; closeConn: () => Promise; printText: (text: string, opts?: PrinterOptions) => void; printBill: (text: string, opts?: PrinterOptions) => void; }; export declare const NetPrinter: { init: () => Promise; getDeviceList: () => Promise; connectPrinter: (host: string, port: number) => Promise; closeConn: () => Promise; printText: (text: string, opts?: {}) => void; printBill: (text: string, opts?: {}) => void; }; export declare const RNPrint: any; export declare const NetPrinterEventEmitter: NativeEventEmitter; export declare enum RN_THERMAL_RECEIPT_PRINTER_EVENTS { EVENT_NET_PRINTER_SCANNED_SUCCESS = "scannerResolved", EVENT_NET_PRINTER_SCANNING = "scannerRunning", EVENT_NET_PRINTER_SCANNED_ERROR = "registerError" }