import { type PakbonLayoutVariant } from "./pakbonBuilder.js"; export interface PakbonScanRegel { artikelnummer: string; artikelnaam: string; potmaat: string; kleur: string; fustsoort: string; planten_per_fust: number; aantal: number; fust_aantal: number; } export interface PakbonScanInhoud { barcode: string; order_ref: string | null; order_nummer: string | null; klant_naam: string | null; klant_nummer: string | null; cart_id: string | null; cart_label: string | null; cart_index: number | null; cart_total: number | null; layout_variant: PakbonLayoutVariant | null; layout_id: string | null; print_job_id: string | null; is_herprint: boolean; regels: PakbonScanRegel[]; } /** * Bouwt de scanregel uit de order zoals die op de pakbon is gerenderd. * Bij een deelkar (`partial_order`) staan uitsluitend de fusten van die * deelkar op de pakbon, dus ook uitsluitend die regels in de registratie. */ export declare function bouwPakbonScanInhoud(order: unknown, opties: { barcode: unknown; layoutVariant?: PakbonLayoutVariant | null; layoutId?: string | null; printJobId?: string | null; isHerprint?: boolean; }): PakbonScanInhoud | null; /** Slaat de scaninhoud op; een herprint werkt dezelfde barcode bij. */ export declare function bewaarPakbonScanInhoud(db: { from: (tabel: string) => any; }, inhoud: PakbonScanInhoud | null): Promise; //# sourceMappingURL=pakbonScan.d.ts.map