/** * Client-side scan payload sanitize + retail GTIN pre-check. * Server BarcodeNormalizationService remains authoritative on assign/lookup. */ import type { BarcodeScannerFormatProfile } from '../hooks/scannerFormats.js'; /** * Trim + strip ASCII control chars (client pre-trim only). */ export declare function normalizeScanPayload(raw: string): string; /** * Prepare a decode payload for emit. Returns null when retail GTIN check fails * (caller should continue scanning without onDecode). */ export declare function prepareScanPayloadForEmit(raw: string, formatProfile: BarcodeScannerFormatProfile): string | null; /** @internal test export */ export declare function isGtinCheckDigitValidForTest(digits: string): boolean; //# sourceMappingURL=normalizeScanPayload.d.ts.map