import * as React from 'react';
export type VulnerabilitySeverity = 'critical' | 'high' | 'medium' | 'low' | 'info';
export type VulnerabilityStatus = 'open' | 'in_progress' | 'resolved' | 'accepted' | 'false_positive';
export interface VulnerabilityReference {
    title: string;
    url: string;
}
export interface VulnerabilityData {
    id: string;
    title: string;
    description: string;
    severity: VulnerabilitySeverity;
    cvss?: number;
    cvssVector?: string;
    cwe?: string;
    affected?: string[];
    published?: Date | string;
    modified?: Date | string;
    references?: VulnerabilityReference[];
    status?: VulnerabilityStatus;
    tags?: string[];
}
declare const severityBadgeVariants: (props?: ({
    severity?: "info" | "high" | "low" | "critical" | "medium" | null | undefined;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
declare const statusBadgeVariants: (props?: ({
    status?: "open" | "in_progress" | "resolved" | "accepted" | "false_positive" | null | undefined;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export interface VulnerabilityCardProps extends Omit<React.ComponentProps<'div'>, 'onClick'> {
    data: VulnerabilityData;
    /** Compact mode truncates description and collapses references. */
    compact?: boolean;
    /** Show the references section. Defaults to true. */
    showReferences?: boolean;
    /** Callback when the card is clicked. */
    onClick?: ((data: VulnerabilityData) => void) | undefined;
}
declare function VulnerabilityCard({ className, data, compact, showReferences, onClick, ...props }: VulnerabilityCardProps): import("react/jsx-runtime").JSX.Element;
export { VulnerabilityCard, severityBadgeVariants, statusBadgeVariants };
//# sourceMappingURL=vulnerability-card.d.ts.map