import { DyE2E_CWVMetric_Type } from '../../contracts/_enums/cwv-metric-type.enum'; import { DyE2E_CWVThresholds_Interface } from '../../contracts/_models/interfaces/cwv-thresholds.interface'; import { DyE2E_CWVMeasurement_DataModel } from '../_models/cwv-measurement.data-model'; /** * MP-05/Wave-3 — Attribution-based diagnose util. * * Bemenet: measurement-tömb + thresholds. Kimenet: human-readable diagnose * sorok — "LCP p75 = 4200ms (cél: 2500ms). A leglassabb LCP target: * `IMG#hero-banner`. Optimalizálás: preload + dimension-set." */ export interface DyE2E_CWVDiagnose_Hint { metric: DyE2E_CWVMetric_Type; /** A measured p75 érték. */ p75: number; /** A threshold (ha definiált). */ threshold?: number; /** A legrosszabb futás target-info (a `measurement.attribution`-ből). */ worstTarget?: string; /** Human-readable summary. */ summary: string; /** Optimalizálási javaslat. */ suggestion: string; } export declare class DyE2E_CWVDiagnose_Util { /** * Per-metric percentile-számolás (lásd `DyE2E_CWVAggregator_Util` is — * itt egy-self-contained verzió a diagnose-flow-hoz). */ private static percentile; /** Diagnose egy metricre — visszaadja a hint-et vagy null-t ha nincs adat. */ static diagnoseMetric(measurements: DyE2E_CWVMeasurement_DataModel[], metric: DyE2E_CWVMetric_Type, thresholds: DyE2E_CWVThresholds_Interface): DyE2E_CWVDiagnose_Hint | null; /** Diagnose minden metric-re egyszerre. */ static diagnoseAll(measurements: DyE2E_CWVMeasurement_DataModel[], thresholds: DyE2E_CWVThresholds_Interface): DyE2E_CWVDiagnose_Hint[]; /** Egy metric-szintű optimalizálási javaslat. */ private static suggest; } //# sourceMappingURL=cwv-diagnose.util.d.ts.map