import { EventEmitter } from '@angular/core'; import { BadgeComponent } from '../../badge/badge.component'; import * as i0 from "@angular/core"; export declare type InsightBadge = Pick; export interface InsightMetadata { [key: string]: string | { label: string; value: string; highlight?: boolean; isKeyClickable?: boolean; }; } interface InternalInsightSection { id: string; title: string; variant: 'warning' | 'error' | 'default'; reason: string; actionButtonLabel: string; expanded?: boolean; } export declare class InsightCardComponent { private readonly metadataDetailsId; private readonly sectionHeaderIdPrefix; private readonly sectionContentIdPrefix; title: string; description: string; /** Show/hide the AI suggestion main button */ showAiSuggestionButton: boolean; private _badges; set badges(value: InsightBadge[]); get badges(): InsightBadge[]; metadata?: InsightMetadata; prerequisiteSection?: string; testDataSection?: string; metadataExpanded: boolean; isPrerequisiteMissing: boolean; isTestDataMissing: boolean; private sectionExpandedState; isApplying: boolean; metadataToggle: EventEmitter; sectionToggle: EventEmitter<{ id: string; expanded: boolean; }>; sectionActionClick: EventEmitter; onApplySuggestionClick: EventEmitter; onAttachPrerequisitesClick: EventEmitter; onImportTestDataClick: EventEmitter; metadataKeyClick: EventEmitter; toggleMetadata(): void; toggleSection(section: InternalInsightSection): void; onSectionAction(sectionId: string): void; get visibleBadges(): InsightBadge[]; get visibleSections(): InternalInsightSection[]; onMainAction(): Promise; resetApplyingState(): void; trackSectionById(_index: number, section: InternalInsightSection): string; getSectionBorderClass(section: InternalInsightSection): string; getMetadataValueClasses(key: string, value: string | { label: string; value: string; highlight?: boolean; }): string; getMetadataValue(value: string | { label: string; value: string; highlight?: boolean; }): string; isKeyClickable(value: string | { label: string; value: string; highlight?: boolean; isKeyClickable?: boolean; }): boolean; onKeyClick(key: string, value: string | { label: string; value: string; highlight?: boolean; isKeyClickable?: boolean; }): void; getMetadataValueStyle(key: string, value: string | { label: string; value: string; highlight?: boolean; }): { [key: string]: string; }; getSectionTitleClasses(section: InternalInsightSection): string; getSectionIconColor(section: InternalInsightSection): string; getSectionHeaderId(section: InternalInsightSection): string; getSectionContentId(section: InternalInsightSection): string; getMetadataDetailsId(): string; private getSectionExpandedState; private createSection; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};