import { aws_cloudwatch } from 'aws-cdk-lib';
import { ISLOWidgetProps } from './types';
export interface ILatencyWidgetProps extends ISLOWidgetProps {
    /**
     * The Latency metric to use for the widget
     */
    readonly latency: aws_cloudwatch.IMetric;
    /**
     * The integer value for the latency threshold in ms.
     */
    readonly latencyThreshold: number;
}
/**
 * Creates a latency widget that adjusts the percentile based on slo window. The smaller the window,
 * the lower the percentile, in effect highlighting more severe issues in the smaller frames.
 * This is not as accurate as using error rates and burn rates, and is especially bad for services
 * that have non-normal distribution in latencies, but it works out of the box with AWS metrics
 * only, so it can serve as a good enough start.
 */
export declare class LatencyWidget extends aws_cloudwatch.GraphWidget {
    constructor(props: ILatencyWidgetProps);
}
