import { Threshold } from '@parlor/common';
import { ServiceReturnType } from '@parlor/contexts';
import { BaseSyntheticEvent } from 'react';
export type AddThresholdModalProps = {
    isFirstThreshold?: boolean;
    onClose?: (e?: BaseSyntheticEvent) => void;
    onSubmit: (items: Partial<Threshold>[]) => void;
    threshold?: Partial<ServiceReturnType<'threshold', 'get'>>;
};
export declare const AddThresholdModal: ({ threshold, isFirstThreshold, onClose, onSubmit }: AddThresholdModalProps) => JSX.Element;
