import { Ref } from 'vue'; import { Device, DeviceList } from '../../ButtonScan/ButtonScan.vue.d'; export interface ScanDevice { RFID: Device | undefined; QR: Device | undefined; } export interface DeviceStore { /** * The device list. */ devices: Ref; /** * Save new device list. */ saveDevices: (devices: DeviceList) => void; /** * The selected device. */ device: Ref; /** * Set new selected Device. */ setDevice: (device: ScanDevice) => void; /** * Get device options from localStorage. */ loadDevices: () => void; } declare const useDeviceStore: () => DeviceStore; export default useDeviceStore;