import { EventEmitter } from '@angular/core'; import * as i0 from "@angular/core"; export declare class NewVersionHistoryDetailComponent { private readonly prioritizedFields; selectedVersion: any; selectedIsCurrent: boolean; isRestoring: boolean; getAuthorLabelFn: (version: any) => string; getFieldLabelFn: (field: string) => string; getStepPrefixFn: (step: any) => string; getCategoryLabelFn: (category: string) => string; formatDisplayValueFn: (value: any, field?: string, stepData?: any) => string; getStepActionHtmlFn: (step: any) => string; hiddenFields: string[]; parseFieldAsTableFn: (field: string, value: any, stepData?: any) => Record | null; /** Return a badge config to render before the value text, or null for no badge. */ getValueBadgeConfigFn: (value: any, field: string, stepData?: any) => { label: string; backgroundColor: string; textColor: string; borderColor: string; } | null; /** Return { oldHtml, newHtml } with inline diff markup, or null to use plain text rendering. */ getInlineDiffFn: (oldValue: any, newValue: any, field: string, oldStepData?: any, newStepData?: any) => { oldHtml: string; newHtml: string; } | null; compare: EventEmitter; restore: EventEmitter; get hasTestCaseChanges(): boolean; get testCaseChangedFields(): string[]; visibleFields(fields: string[]): string[]; visibleChangedFields(step: any): string[]; get stepsAdded(): any[]; get stepsDeleted(): any[]; get stepsUpdated(): any[]; get stepsSummary(): any; get hasAnyChanges(): boolean; /** * Tries to parse the value as a plain object (or a JSON string that is an object). * Returns the parsed object, or null if the value is not an object/JSON-object. */ parseObjectValue(value: any): Record | null; /** Returns only the keys where old and new values differ. */ objectKeys(oldObj: Record | null, newObj: Record | null): string[]; /** True when the value for a key differs between old and new. */ isKeyChanged(oldObj: Record | null, newObj: Record | null, key: string): boolean; formatPrimitiveValue(value: any): string; trackByKey(_index: number, key: string): string; trackByField(_index: number, field: string): string; trackByStepId(_index: number, step: any): number; private prioritizeFields; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }