import { type ChangeEvent, type FocusEvent } from "react";
import { type IAlertRelativeArithmeticOperator, type IAlertRelativeOperator, type IAttribute, type IAutomationAlert, type IMeasure } from "@gooddata/sdk-model";
import { type AlertAttribute, type AlertMetric } from "../../types.js";
export declare function useThresholdValue(changeValue: (value: number) => void, getMetricValue: (measure?: IMeasure, attr?: IAttribute, value?: string | null) => number | undefined, isNewAlert?: boolean, alert?: IAutomationAlert, selectedRelativeOperator?: [
    IAlertRelativeOperator | undefined,
    IAlertRelativeArithmeticOperator | undefined
], selectedMeasure?: AlertMetric, selectedAttribute?: AlertAttribute, selectedValue?: string | null): {
    value: number | undefined;
    onChange: (e: string | number, event?: ChangeEvent<HTMLInputElement> | undefined) => void;
    onBlur: (event: FocusEvent<HTMLInputElement, Element>) => void;
    errorMessage: string | undefined;
};
//# sourceMappingURL=useThresholdValue.d.ts.map