import { type MaybeRefOrGetter } from 'vue'; /** Lifecycle actions a user can trigger (create is not an edge on an existing run). */ export type ProductionRunLifecycleAction = Exclude; /** * Single source for action labels, so the row button, the row menu and the run * footer cannot drift into three names for one action. */ export declare const PRODUCTION_RUN_ACTION_LABELS: Record; export interface ProductionRunAction { action: ProductionRunLifecycleAction; label: string; } /** * Ordinary lifecycle actions come from the `FfProductionRunWorkflow` * legality table — which reads status **and** data, * so a run that has issued offers no cancel and a drifted document offers * nothing at all. Views render this list; adding a status or an edge touches * the core table, not view code. * * There is no normalisation and no try/catch here on purpose. Run documents are * correct by construction — `FdoProductionRun` is a new entity with no pre-enum * ancestors — so a status the bridge cannot decode is a real defect, and * swallowing it would hide the defect behind an empty menu. */ /** An accepted output command is not yet proof of its stock application. */ export declare function hasPendingProductionOutput(run: FdoProductionRun): boolean; /** A claimed issuance not yet settled: preparing is in progress or unfinished. */ export declare function hasPendingProductionPreparation(run: FdoProductionRun): boolean; export declare function productionRunActionsFor(run: FdoProductionRun): ProductionRunAction[]; /** Reactive wrapper for components holding the run in a ref/prop/getter. */ export declare function useProductionRunActions(run: MaybeRefOrGetter): import("vue").ComputedRef; /** * The `.fm-status-badge-*` modifier for a run status, paired with the base * `fm-status-badge` class by the caller (see `draftStatusToClassName`). * * The shared modifiers are palette names rather than Production statuses. * REQUESTING is the informational hand-off, while PREPARING is the warning- * toned work-in-flight state. Keeping that mapping here makes the list and * detail surfaces agree without changing the shared badge styles. */ export declare function productionRunStatusBadge(status: F_PRODUCTION_RUN_STATUS): "fm-status-badge-draft" | "fm-status-badge-receiving" | "fm-status-badge-requesting" | "fm-status-badge-close" | "fm-status-badge-cancel";