declare interface IConfig { appId?: string; version?: string; reportCallback: Function; immediately: boolean; isCustomEvent?: boolean; logFpsCount?: number; apiConfig?: { [prop: string]: Array; }; hashHistory?: boolean; excludeRemotePath?: Array; maxWaitCCPDuration: number; scoreConfig?: IScoreConfig; } declare interface IMetrics { name: string; value: any; score?: number; } declare interface IMetricsObj { [prop: string]: IMetrics; } declare interface IScoreConfig { [prop: string]: { median: number; p10: number; }; } declare interface IWebVitals { immediately: boolean; getCurrentMetrics(): IMetricsObj; setStartMark(markName: string): void; setEndMark(markName: string): void; clearMark(markName: string): void; customContentfulPaint(customMetricName: string): void; } export declare class WebVitals implements IWebVitals { immediately: boolean; constructor(config: IConfig); getCurrentMetrics(): IMetricsObj; private static dispatchCustomEvent; setStartMark(markName: string): void; setEndMark(markName: string): void; clearMark(markName: string): void; customContentfulPaint(): void; } export { }