import { BleDevice, ConnectionProtocol, DeviceRole, PrinterType } from "./ExpoBleStore"; export type UseBleOptions = { autoScan?: boolean; }; export default function useBle(opts?: UseBleOptions): { startScan: () => Promise; stopScan: () => void; connect: (id: string, role?: DeviceRole, connectionProtocol?: ConnectionProtocol) => Promise; disconnect: (id: string) => Promise; removeConnectedDevice: (id: string) => void; sendData: (id: string, s: string, c: string, data: string) => Promise; readCharacteristic: (id: string, s: string, c: string) => Promise<{ rawBase64: string | null; decoded: any; char: import("react-native-ble-plx").Characteristic; }>; isAvailable: () => boolean; startDataFlow: (callback: CallableFunction, acceptTypes?: string[]) => () => void; startRFID: () => void; stopRFID: () => void; startBarcode: () => void; stopBarcode: () => void; readFromClassic: (id: string) => Promise; writeToClassic: (id: string | string[], data: string) => Promise<{ id: string; success: boolean; error?: any; }[]>; setPrinterType: (id: string, printerType: PrinterType) => void; available: boolean; barcodeReady: boolean; rfidReady: boolean; }; export declare function useDeviceIds(throttleMs?: number): string[]; export declare function useDevice(id: string, opts?: { throttleMs?: number; }): BleDevice | undefined; export declare function useTrigger(): boolean; export declare function useRfidReady(): BleDevice; export declare function useBarcodeReady(): BleDevice; export declare function useScanner(): BleDevice[]; export declare function usePrinter(printerType?: PrinterType): BleDevice[]; //# sourceMappingURL=useBle.d.ts.map