export declare const VISUAL_QA_CANDIDATE_FORBIDDEN = "VISUAL_QA_CANDIDATE_FORBIDDEN"; /** The one paragraph `item visual-qa --help`, `item set-version --help` and `item publish-version --help` carry. */ export declare const VERSION_MOVE_FLOW_HELP: string; /** `helix item set-version …` for a version that just passed, ready to paste. */ export declare function setVersionCommand(itemId: string, packageVersion: string): string; /** What to print after a candidate run that was submitted and passed. Empty when there is nothing to say. */ export declare function nextStepAfterPass(input: { itemId: string; packageVersion?: string | null; candidate: boolean; submitted: boolean; verdict: string; vehiclePackageFile?: string | null; }): string[]; export declare function candidateForbiddenMessage(itemId: string, version: string): string; /** The 403 the backend answers a non-owner's candidate request with, as seen by the browser routes (`{status, body}`). */ export declare function isCandidateForbidden(raw: unknown): boolean; /** Put the forbidden refusal first: it explains every other symptom (the page's vague "ITEM TRIAL UNAVAILABLE", missing frames). */ export declare function orderCandidateErrors(routeErrors: string[], candidateErrors: string[]): string[]; export declare function versionNotFoundMessage(input: { packageId: string; version: string; sealed: string[] | null; }): string; /** Sealed (or superseded) version strings from the owner's package-version listing, newest first as served. */ export declare function sealedVersionsFrom(body: unknown): string[] | null; export interface PendingVersion { packageVersion: string; packageVersionId?: string; manifestCid?: string | null; latestRun?: { runId?: string | null; verdict?: string | null; contactSheetUrl?: string | null; createdAt?: string | null; } | null; hostedJob?: { id?: string; status?: string; attempts?: number; } | null; } /** `--status` lines for the backend's `pendingVersions` (sealed versions of the item's package that are not current). */ export declare function describePendingVersions(itemId: string, pending: PendingVersion[] | null | undefined): string[];