export type OrderStatus = "paid" | "shipped" | "rejected" | "failed" | "refunded"; export type QuoteStatus = "new" | "priced" | "won" | "lost"; export type ProofStatus = "none" | "sent" | "approved" | "changes"; /** Deposit owed (minor units) for a total at a given percent (0 if percent≤0). */ export declare const depositCents: (totalCents: number, percent: number) => number; export declare const PRODUCTION_STAGES: readonly ["queued", "digitizing", "production", "ready"]; export type ProductionStage = (typeof PRODUCTION_STAGES)[number]; /** Normalize an unknown stage to a valid one (defaults to the first). */ export declare const toProductionStage: (stage: string | null | undefined) => "production" | "queued" | "digitizing" | "ready"; /** The next stage forward, or null at the end. */ export declare const nextStage: (stage: string) => ProductionStage | null; /** The previous stage, or null at the start. */ export declare const prevStage: (stage: string) => ProductionStage | null;