import { IUseModal } from "@janda-com/front";
import { JDmodalConfigProps } from "@janda-com/front/build/components/modal/Modal";

export interface IModalSMSinfo {
    receivers?: string[];
    targets?: {
        label?: string;
        info?: string;
        id: string;
    }[];
    mode: "withIds" | "withNums"
}

export type ICallBackWithIds = (targetIds: string[], msg: string, senderId?: string) => void;
export interface IPropForInner {
    callBackWithIds?: ICallBackWithIds;
    modalHook: IUseModal<IModalSMSinfo>;
    modalConfig?: JDmodalConfigProps;
}

export interface ISmsSenderProp extends IPropForInner {
}

