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<DeviceList>;
    /**
     * Save new device list.
     */
    saveDevices: (devices: DeviceList) => void;
    /**
     * The selected device.
     */
    device: Ref<ScanDevice>;
    /**
     * Set new selected Device.
     */
    setDevice: (device: ScanDevice) => void;
    /**
     * Get device options from sessionStorage.
     */
    loadDevices: () => void;
}
declare const useDeviceStore: () => DeviceStore;
export default useDeviceStore;
declare global {
    interface Window {
        device: ScanDevice;
        devices: DeviceList;
    }
}
