import { DimensionsMap } from "aws-cdk-lib/aws-cloudwatch";
import { Canary } from "aws-cdk-lib/aws-synthetics";
import { BaseMetricFactory, BaseMetricFactoryProps, MetricFactory, RateComputationMethod } from "../../common/index";
export interface SyntheticsCanaryMetricFactoryProps extends BaseMetricFactoryProps {
    /**
     * CloudWatch Canary to monitor
     */
    readonly canary: Canary;
    /**
     * Method used to calculate relative rates
     * @default - average
     */
    readonly rateComputationMethod?: RateComputationMethod;
}
export declare class SyntheticsCanaryMetricFactory extends BaseMetricFactory {
    protected readonly canary: Canary;
    protected readonly rateComputationMethod: RateComputationMethod;
    protected readonly dimensionsMap: DimensionsMap;
    constructor(metricFactory: MetricFactory, props: SyntheticsCanaryMetricFactoryProps);
    metricLatencyAverageInMillis(): import("../../common/index").MetricWithAlarmSupport;
    metricSuccessInPercent(): import("../../common/index").MetricWithAlarmSupport;
    metric4xxErrorCount(): import("../../common/index").MetricWithAlarmSupport;
    metric4xxErrorRate(): import("../../common/index").MetricWithAlarmSupport;
    metric5xxFaultCount(): import("../../common/index").MetricWithAlarmSupport;
    metric5xxFaultRate(): import("../../common/index").MetricWithAlarmSupport;
}
