react-native-esc-pos-printer
Version:
An unofficial React Native library for printing on an EPSON TM printer with the Epson ePOS SDK for iOS and Epson ePOS SDK for Android
11 lines • 469 B
TypeScript
import type { DeviceInfo, DiscoveryStartParams } from '../types';
import type { PrinterDiscoveryError } from '../../core/errors';
export declare function usePrintersDiscovery(): {
printers: DeviceInfo[];
isDiscovering: boolean;
printerError: PrinterDiscoveryError;
start: (params?: DiscoveryStartParams) => void;
stop: () => void;
pairBluetoothDevice: (macAddress?: string) => Promise<void>;
};
//# sourceMappingURL=usePrintersDiscovery.d.ts.map