import React from 'react'; import { type VariantProps } from 'class-variance-authority'; declare const statusBadgeVariants: (props?: ({ variant?: "button" | "card" | null | undefined; colorScheme?: "default" | "error" | "warning" | "success" | "yellow" | "green" | "pink" | "cyan" | "purple" | "accentBorder" | "errorBorder" | "whiteBorder" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; /** * OpenFrame generation badge tint — the ONE ramp for the `gen` mode below. * Per product direction: the TEXT colour is constant (the full platform * `--ods-accent`) so every generation stays equally legible; only the BACKGROUND * opacity steps down (Gen1 strongest → later gens fainter). Returns the % of the * accent mixed into the badge background. */ export declare function genBadgeBgOpacity(gen: number): number; /** Parse the whole-number gen tier out of a ClickUp Target Version label * ("Gen1", "Gen1.5", "Gen2" → 1, 1, 2). Fractional gens share the tier's tint. * Returns 1 when no digit is present. */ export declare function generationTierFromLabel(label: string | null | undefined): number; export interface StatusBadgeProps extends React.HTMLAttributes, VariantProps { text: string; /** * When true, renders `text` verbatim on a single line, bypassing the * default multi-word vertical-stack behavior used by `variant="button"`. * Use this for compact inline contexts (e.g. chat-inline roadmap cards) * where the stamp-like stacked layout is undesirable. */ singleLine?: boolean; /** * OpenFrame generation mode. Pass the gen number (1/2/3…) to render THIS badge * as a generation chip: constant full-accent text on a progressive-opacity * accent background (see {@link genBadgeBgOpacity}), and the `text` shown in * its SSOT ClickUp casing ("Gen1", not uppercased) so it matches the label * everywhere else in the product. Overrides `colorScheme`. The one unified * gen badge — do NOT build a parallel component. */ gen?: number; } declare function StatusBadge({ text, variant, colorScheme, className, singleLine, gen, style, ...props }: StatusBadgeProps): React.JSX.Element; export { StatusBadge, statusBadgeVariants }; //# sourceMappingURL=status-badge.d.ts.map