//#region src/components/kiosk/runtime/devices/scanner.d.ts type KioskScanKind = 'wallet' | 'member' | 'voucher' | 'product' | 'order' | 'unknown'; /** One physical read. Classification is shared and only runs when requested. */ interface KioskScanEvent { readonly code: string; readonly eventId: string; identify(): Promise; } type KioskScanListener = (event: KioskScanEvent, signal: AbortSignal) => void | Promise; type KioskScanFocus = 'page' | 'dialog'; interface KioskScanner { subscribe(listener: KioskScanListener): () => void; capture(focus: KioskScanFocus, listener: KioskScanListener): () => void; } //#endregion export { KioskScanEvent, KioskScanFocus, KioskScanKind, KioskScanListener, KioskScanner };