import React from 'react';
import { type TagProps } from './tag';
/**
 * Canonical ticket status values.
 * This is the single source of truth for ticket statuses across all frontends.
 */
export type TicketStatus = 'ACTIVE' | 'TECH_REQUIRED' | 'ON_HOLD' | 'RESOLVED' | 'ARCHIVED';
type TagVariant = NonNullable<TagProps['variant']>;
interface TicketStatusConfig {
    label: string;
    variant: TagVariant;
    icon?: React.ReactNode;
}
/**
 * Resolves any status string to a canonical TicketStatus.
 * Returns null for unknown values.
 */
export declare function resolveTicketStatus(status: string): TicketStatus | null;
/**
 * Returns the display config (label, variant, icon) for a given ticket status.
 * Accepts any known status format (backend, chat, dialog).
 */
export declare function getTicketStatusConfig(status: string): TicketStatusConfig;
/**
 * Returns just the label and variant for use with the Tag component.
 * Drop-in replacement for the getTicketStatusTag utility in openframe-frontend.
 */
export declare function getTicketStatusTag(status: string): {
    label: string;
    variant: TagVariant;
    icon?: React.ReactNode;
};
export interface TicketStatusTagProps {
    /** Ticket status in any known format (ACTIVE, active, ACTION_REQUIRED, etc.) */
    status: string;
    /** Override the default label */
    label?: string;
    /**
     * Hex color override. Replaces the variant's fill; text
     * color is computed for contrast. The status's preset icon is preserved.
     */
    color?: string;
    /** Additional className for the Tag */
    className?: string;
    /** Show the status-specific icon (e.g. checkmark for resolved) */
    showIcon?: boolean;
}
/**
 * Unified ticket status tag component.
 * Renders a styled Tag with the correct color variant and optional icon
 * for any ticket status value from any layer (backend, dialog, chat).
 */
export declare function TicketStatusTag({ status, label, color, className, showIcon, }: TicketStatusTagProps): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=ticket-status-tag.d.ts.map