import React from "react";
import { IUseModal } from "@janda-com/front";
import { ITrigger } from "../../../types/interface";
import { IselectedOption } from "@janda-com/front/build/types/interface";
import { TriggerUpsertInput, myManager_MyManager_data_senders } from "../../../types/api";
export declare type TUpdateFn = (id: string, input: TriggerUpsertInput) => void;
export declare type TCreateFn = (input: TriggerUpsertInput) => void;
export interface ITriggerModalInfo {
    trigger?: ITrigger;
    mode: "create" | "update";
}
export declare type TtagsOp = {
    key: string;
    ops: IselectedOption[];
}[];
export interface IChainProp {
    tagsOp?: TtagsOp;
    templatesOp: IselectedOption<string>[];
    autoSendCases: IselectedOption<string>[];
}
interface IProp extends IChainProp {
    senders: myManager_MyManager_data_senders[];
    modalHook: IUseModal<ITriggerModalInfo>;
    handleCreate: TCreateFn;
    handleDelete: () => void;
    handleUpdate: TUpdateFn;
}
export declare const TriggerModal: React.FC<IProp>;
export default TriggerModal;
