import { aws_cloudwatch } from 'aws-cdk-lib';
import { IAlertConfig } from './types';
export interface ICustomAvailabilityMetricProps {
    /**
     * 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 errorsMetricName: string;
    /**
     * The custom metric name that will give the count of requests
     */
    readonly countsMetricName: string;
    /**
     * The SLO window that this metric will be used for.
     */
    readonly sloWindow: IAlertConfig;
}
/**
 * Creates a metric that can be used as an SLI for Custom Metrics
 * Availability SLOs
 */
export declare class CustomAvailabilityMetric extends aws_cloudwatch.MathExpression {
    constructor(props: ICustomAvailabilityMetricProps);
}
