import { Threshold } from '../types/config'; /** * Parse a threshold string such as ">500ms", ">=2s", ">1000" into a Threshold. * Defaults to ">500ms" if the string is unparseable. */ export declare function parseThreshold(raw: string): Threshold; /** * Returns true if `duration` breaches the threshold. */ export declare function isAboveThreshold(duration: number, threshold: Threshold): boolean; /** * Critical = at least 3× the threshold value. */ export declare function isCritical(duration: number, threshold: Threshold): boolean; //# sourceMappingURL=threshold.d.ts.map