import type { QrKeyringBridge, QrScanRequest, SerializedUR } from "./qr-keyring.mjs"; /** * Options for the QrKeyringScannerBridge. */ export type QrKeyringScannerBridgeOptions = { /** * The function that the bridge will use to initiate a QR scan request. */ requestScan: (request: QrScanRequest) => Promise; }; /** * A generic transport bridge that allows the consumer to inject a scan * request hook at construction time. */ export declare class QrKeyringScannerBridge implements QrKeyringBridge { #private; constructor({ requestScan }: QrKeyringScannerBridgeOptions); /** * Request a QR code scan, obtaining a CBOR and a type as response. * * @param request - The type of QR scan request. * @returns The scanned data as a serialized UR. */ requestScan(request: QrScanRequest): Promise; } //# sourceMappingURL=qr-keyring-scanner-bridge.d.mts.map