UNPKG

react-native-thermal-pos-printer

Version:

React Native thermal printer package for POS systems supporting Xprinter and other popular brands

14 lines 734 B
import { PrinterEvent, PrinterEventData } from '../types/events'; export declare class PrinterEventManager { private static eventEmitter; private static listeners; static addListener(event: PrinterEvent, callback: (data: PrinterEventData) => void): () => void; static removeAllListeners(event?: PrinterEvent): void; static emit(event: PrinterEvent, data: PrinterEventData): void; static getListenerCount(event?: PrinterEvent): number; static hasListeners(event: PrinterEvent): boolean; static getActiveEvents(): string[]; static removeListener(event: PrinterEvent, callback: (data: PrinterEventData) => void): boolean; static destroy(): void; } //# sourceMappingURL=PrinterEventManager.d.ts.map