/**
 * VulnerabilityCard type definitions
 * @countermeasure/web-components/security/vulnerability-card
 */
export interface VulnerabilityReference {
    /** Display title of the reference link. */
    title: string;
    /** Reference URL (advisory, exploit, vendor bulletin). */
    url: string;
}
export interface VulnerabilityData {
    /** CVE identifier or internal vulnerability ID. */
    id: string;
    /** Short summary title for the vulnerability. */
    title: string;
    /** Long-form description / impact analysis. */
    description: string;
    /** Severity rating used to colorize the card. */
    severity: 'critical' | 'high' | 'medium' | 'low' | 'info';
    /** CVSS base score (0.0–10.0). */
    cvss?: number;
    /** Full CVSS vector string. */
    cvssVector?: string;
    /** CWE classification (e.g. `CWE-89`). */
    cwe?: string;
    /** Affected products / version ranges. */
    affected?: string[];
    /** Date the vulnerability was first published. */
    published?: Date | string;
    /** Date of the most recent update. */
    modified?: Date | string;
    /** External references (advisories, exploits, vendor bulletins). */
    references?: VulnerabilityReference[];
    /** Workflow state for the vulnerability. */
    status?: 'open' | 'in_progress' | 'resolved' | 'accepted' | 'false_positive';
    /** Free-form tags for filtering / categorization. */
    tags?: string[];
}
export interface VulnerabilityCardConfig {
    /** Container element (or selector) the card mounts into. */
    container: HTMLElement | string;
    /** Vulnerability payload rendered by the card. */
    data: VulnerabilityData;
    /**
     * Render a condensed single-line layout instead of the full detail card.
     * @default false
     */
    compact?: boolean;
    /**
     * Render the references section beneath the description.
     * @default false
     */
    showReferences?: boolean;
    /** Callback invoked when the card is clicked. */
    onClick?: (data: VulnerabilityData) => void;
    /** Additional CSS class names. */
    className?: string;
}
//# sourceMappingURL=types.d.ts.map