import { aws_cloudwatch } from 'aws-cdk-lib';
import { IAlertConfig } from './types';
export interface ICustomLatencyMetricProps {
    /**
     * The custom namespace to find the errors and requests metrics
     */
    readonly namespace: string;
    /**
     * The custom metric name that will give the count of 5xx errors
     */
    readonly latencyMetricName: string;
    /**
     * The SLO window that this metric will be used for.
     */
    readonly sloWindow: IAlertConfig;
    /**
     * The decimal value for the threshold of the SLO.
     */
    readonly sloThreshold: number;
}
/**
 * Creates a metric that can be used as an SLI for API Gateway
 * Latency SLOs
 */
export declare class CustomLatencyMetric extends aws_cloudwatch.Metric {
    constructor(props: ICustomLatencyMetricProps);
}
