/** * This Source Code is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Copyright (c) Infonomic Company Limited */ import type { WorkflowStatus } from '@byline/core'; /** * Compact badge for workflow status values. Maps the three built-in * statuses (draft, published, archived) to semantic intents and falls * back to `noeffect` for any custom workflow statuses. * * When `hasPublishedVersion` is true and the current status is not * `published`, a small green dot is rendered before the badge to * indicate that a published version is live. * * Stable override handles: `.byline-status-badge-wrap`, * `.byline-status-badge-dot`, `.byline-status-badge`. */ export declare const StatusBadge: ({ status, workflowStatuses, hasPublishedVersion, }: { status: string; workflowStatuses: WorkflowStatus[]; hasPublishedVersion?: boolean; }) => import("react").JSX.Element;