declare namespace ROBOT_CHAT_CREATE {
    interface DispatchRobotChatCreate {
        settings: SettingsProps
        setSettings: React.Dispatch<React.SetStateAction<SettingsProps>>
        onPreviewReset: () => void
        bookPlatForm: TASK_CREATE.BookPlatFormProps[]
        bookList: TASK_CREATE.BookListProps[]
        mpList: DefaultOptionType[]
        corpList: DefaultOptionType[]
        isEditSc: boolean // 是否编辑素材
    }
    interface GroupsProps {
        mpAccount?: {
            label: string;
            value: number;
            appid: string; // 公众号appid
        }
        corp?: any[];
        ownerUsers?: any[]; // 群主
    }
    // 官方群发创建参数配置
    interface SettingsProps {
        group?: GroupsProps[];
        bizType?: string; // 业务类型
        platform?: number; // 书城
        channel?: string;   // 渠道
        templateProductId?: string; // 适用产品
        strategyDTO?: { [x: string]: any };
    }
    interface SettingsSendObjectProps {
        mpList: DefaultOptionType[]
        corpList: DefaultOptionType[]
        value?: { [x: string]: any }[];
        onChange?: (value: { [x: string]: any }[]) => void;
    }
    interface AddSendObjectProps {
        mpList: DefaultOptionType[]
        corpList: DefaultOptionType[]
        initialValues?: any;
        onChange?: (value: { [x: string]: any }) => void;
        visible?: boolean;
        onClose?: () => void;
    }
    interface ShowSendObjectTable {
        mpList: DefaultOptionType[]
        corpList: DefaultOptionType[]
        data: { [x: string]: any }[]
        isPreview?: boolean
        handleEdit?: (data: { [x: string]: any }) => void
        handleDelete?: (id: number) => void
    }
}