import type { ProductionRunFailure } from '@/api/production-run-error'; type Translate = (key: string, params?: Record) => string; type Copy = { title: string; message: string; }; /** * The localized title and description of a refusal that names SKUs: a * valuation refusal or a catalogue mismatch, naming the SKUs the server listed * by the names the calling view knows. Null for every other failure, and for * one that names no SKU, so the caller keeps its own title and the server * message. */ export declare function productionRunItemRefusal(t: Translate, failure: ProductionRunFailure, nameOf: (skuId: string) => string | undefined): Copy | null; /** * The localized title and description of a failed run action: a refusal that * names SKUs; a missing stock checkpoint, naming the time one is needed * before; a run that moved on or could not be confirmed; or an unexpected * failure, quoting the run number for support. Null for every other failure, * so the caller keeps its own title and the server message. */ export declare function productionRunRefusal(t: Translate, failure: ProductionRunFailure, nameOf: (skuId: string) => string | undefined, runNo: number): Copy | null; export {};