export type PricedLine = { quantity: number; /** Per-unit price (major units), excluding the one-time setup fee. */ unitPrice: number; /** One-time fee charged once for the whole line (e.g. digitizing/setup). */ setupFee: number; }; /** Total units across the cart. */ export declare const cartCount: (lines: T[]) => number; /** Cost of one line: unit × qty + the one-time setup fee. */ export declare const lineTotal: (line: PricedLine) => number; /** Sum of every line's one-time setup fees. */ export declare const cartSetupTotal: (lines: T[]) => number; /** Cart subtotal (all lines, including setup fees). */ export declare const cartSubtotal: (lines: T[]) => number;