import React from 'react';
import { RootState } from 'typesafe-actions';
import { ConditionFetchParams, ConditionEntity } from '@/types/index';
declare const mapStateToProps: (state: RootState) => {
    applicationId: never;
    folderId: never;
    pageInfo: {
        page: never;
        size: never;
        total: never;
    };
    list: {
        type?: undefined;
        id?: undefined;
        createTime?: undefined;
        creator?: {
            id: never;
            account: never;
            nickName?: undefined;
        } | undefined;
        updateTime?: undefined;
        name?: undefined;
        deleted?: undefined;
        intro?: undefined;
        applicationId?: undefined;
        contentId: never;
        version?: undefined;
        content: {
            relation?: {
                [x: string]: {
                    content?: any;
                    id?: undefined;
                    name?: undefined;
                    type: never;
                };
            } | undefined;
            schemas: {
                children: {
                    type: never;
                    props: {
                        operation: never;
                        key: never;
                        value: never;
                    };
                }[];
                id?: undefined;
                name: never;
                props: any;
                type?: undefined;
            }[];
            id: never;
        };
        online?: undefined;
        tags?: {
            [x: string]: never;
        }[] | undefined;
        versionNumber?: undefined;
        folderId?: undefined;
        suffix?: undefined;
        relation?: {
            [x: string]: {
                content?: any;
                id?: undefined;
                name?: undefined;
                type: never;
            };
        } | undefined;
        schemas?: {
            id?: undefined;
            name: never;
            props: {
                [x: string]: any;
            };
            type?: undefined;
        }[] | undefined;
        folderName?: undefined;
        relations?: {
            templates?: {
                id: never;
                dslVersion: never;
                version: never;
                schemas: {
                    id: never;
                    label: never;
                    name: never;
                    props: {
                        [x: string]: any;
                    };
                    version: never;
                    type: never;
                    children?: any[] | undefined;
                    extension: {
                        extendId?: undefined;
                        sort?: undefined;
                        parentId?: undefined;
                        mockId?: undefined;
                    };
                    directive?: {
                        [x: string]: never[];
                        tpl?: undefined;
                        if?: never[] | undefined;
                    } | undefined;
                    childIds?: never[] | undefined;
                    __parsedProps?: {
                        [x: string]: any;
                    } | undefined;
                }[];
                relation: {
                    [x: string]: {
                        content?: any;
                        id?: undefined;
                        name?: undefined;
                        type: never;
                    };
                };
                extension: {
                    extendId?: undefined;
                    sort?: undefined;
                    parentId?: undefined;
                    mockId?: undefined;
                };
                mock?: {
                    enable: never;
                    id?: undefined;
                    relation?: {
                        [x: string]: {
                            content?: any;
                            id?: undefined;
                            name?: undefined;
                            type: never;
                        };
                    } | undefined;
                    schemas: {
                        id: never;
                        label: never;
                        name: never;
                        props: {
                            [x: string]: any;
                        };
                        version: never;
                        type: never;
                        children?: any[] | undefined;
                        extension: {
                            extendId?: undefined;
                            sort?: undefined;
                            parentId?: undefined;
                            mockId?: undefined;
                        };
                        directive?: {
                            [x: string]: never[];
                            tpl?: undefined;
                            if?: never[] | undefined;
                        } | undefined;
                        childIds?: never[] | undefined;
                        __parsedProps?: {
                            [x: string]: any;
                        } | undefined;
                    }[];
                    version?: undefined;
                } | undefined;
            }[] | undefined;
            variables?: {
                id?: undefined;
                name?: undefined;
                version?: undefined;
                relation?: {
                    [x: string]: {
                        content?: any;
                        id?: undefined;
                        name?: undefined;
                        type: never;
                    };
                } | undefined;
                schemas?: {
                    id?: undefined;
                    name: never;
                    props: {
                        [x: string]: any;
                    };
                    type?: undefined;
                }[] | undefined;
            }[] | undefined;
            conditions?: {
                id?: undefined;
                name?: undefined;
                version?: undefined;
                relation?: {
                    [x: string]: {
                        content?: any;
                        id?: undefined;
                        name?: undefined;
                        type: never;
                    };
                } | undefined;
                schemas?: {
                    id?: undefined;
                    name: never;
                    props: {
                        [x: string]: any;
                    };
                    type?: undefined;
                }[] | undefined;
            }[] | undefined;
            functions?: {
                id?: undefined;
                name?: undefined;
                version?: undefined;
                relation?: {
                    [x: string]: {
                        content?: any;
                        id?: undefined;
                        name?: undefined;
                        type: never;
                    };
                } | undefined;
                schemas?: {
                    id?: undefined;
                    name: never;
                    props: {
                        [x: string]: any;
                    };
                    type?: undefined;
                }[] | undefined;
            }[] | undefined;
        } | undefined;
    }[];
    loading: never;
};
declare const mapDispatchToProps: {
    fetchList: (params: ConditionFetchParams) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_CONDITIONS__FETCH_LIST", {
        params: ConditionFetchParams;
    }>;
};
interface IProps {
    visible: boolean;
    conditions: ConditionEntity[];
    onClose: () => void;
    onChange: (selectedConditions: ConditionEntity[]) => void;
}
declare type ConditionSelectType = ReturnType<typeof mapStateToProps> & typeof mapDispatchToProps & IProps;
declare const _default: import("react-redux").ConnectedComponent<React.FC<ConditionSelectType>, import("react-redux").Omit<{
    applicationId: never;
    folderId: never;
    pageInfo: {
        page: never;
        size: never;
        total: never;
    };
    list: {
        type?: undefined;
        id?: undefined;
        createTime?: undefined;
        creator?: {
            id: never;
            account: never;
            nickName?: undefined;
        } | undefined;
        updateTime?: undefined;
        name?: undefined;
        deleted?: undefined;
        intro?: undefined;
        applicationId?: undefined;
        contentId: never;
        version?: undefined;
        content: {
            relation?: {
                [x: string]: {
                    content?: any;
                    id?: undefined;
                    name?: undefined;
                    type: never;
                };
            } | undefined;
            schemas: {
                children: {
                    type: never;
                    props: {
                        operation: never;
                        key: never;
                        value: never;
                    };
                }[];
                id?: undefined;
                name: never;
                props: any;
                type?: undefined;
            }[];
            id: never;
        };
        online?: undefined;
        tags?: {
            [x: string]: never;
        }[] | undefined;
        versionNumber?: undefined;
        folderId?: undefined;
        suffix?: undefined;
        relation?: {
            [x: string]: {
                content?: any;
                id?: undefined;
                name?: undefined;
                type: never;
            };
        } | undefined;
        schemas?: {
            id?: undefined;
            name: never;
            props: {
                [x: string]: any;
            };
            type?: undefined;
        }[] | undefined;
        folderName?: undefined;
        relations?: {
            templates?: {
                id: never;
                dslVersion: never;
                version: never;
                schemas: {
                    id: never;
                    label: never;
                    name: never;
                    props: {
                        [x: string]: any;
                    };
                    version: never;
                    type: never;
                    children?: any[] | undefined;
                    extension: {
                        extendId?: undefined;
                        sort?: undefined;
                        parentId?: undefined;
                        mockId?: undefined;
                    };
                    directive?: {
                        [x: string]: never[];
                        tpl?: undefined;
                        if?: never[] | undefined;
                    } | undefined;
                    childIds?: never[] | undefined;
                    __parsedProps?: {
                        [x: string]: any;
                    } | undefined;
                }[];
                relation: {
                    [x: string]: {
                        content?: any;
                        id?: undefined;
                        name?: undefined;
                        type: never;
                    };
                };
                extension: {
                    extendId?: undefined;
                    sort?: undefined;
                    parentId?: undefined;
                    mockId?: undefined;
                };
                mock?: {
                    enable: never;
                    id?: undefined;
                    relation?: {
                        [x: string]: {
                            content?: any;
                            id?: undefined;
                            name?: undefined;
                            type: never;
                        };
                    } | undefined;
                    schemas: {
                        id: never;
                        label: never;
                        name: never;
                        props: {
                            [x: string]: any;
                        };
                        version: never;
                        type: never;
                        children?: any[] | undefined;
                        extension: {
                            extendId?: undefined;
                            sort?: undefined;
                            parentId?: undefined;
                            mockId?: undefined;
                        };
                        directive?: {
                            [x: string]: never[];
                            tpl?: undefined;
                            if?: never[] | undefined;
                        } | undefined;
                        childIds?: never[] | undefined;
                        __parsedProps?: {
                            [x: string]: any;
                        } | undefined;
                    }[];
                    version?: undefined;
                } | undefined;
            }[] | undefined;
            variables?: {
                id?: undefined;
                name?: undefined;
                version?: undefined;
                relation?: {
                    [x: string]: {
                        content?: any;
                        id?: undefined;
                        name?: undefined;
                        type: never;
                    };
                } | undefined;
                schemas?: {
                    id?: undefined;
                    name: never;
                    props: {
                        [x: string]: any;
                    };
                    type?: undefined;
                }[] | undefined;
            }[] | undefined;
            conditions?: {
                id?: undefined;
                name?: undefined;
                version?: undefined;
                relation?: {
                    [x: string]: {
                        content?: any;
                        id?: undefined;
                        name?: undefined;
                        type: never;
                    };
                } | undefined;
                schemas?: {
                    id?: undefined;
                    name: never;
                    props: {
                        [x: string]: any;
                    };
                    type?: undefined;
                }[] | undefined;
            }[] | undefined;
            functions?: {
                id?: undefined;
                name?: undefined;
                version?: undefined;
                relation?: {
                    [x: string]: {
                        content?: any;
                        id?: undefined;
                        name?: undefined;
                        type: never;
                    };
                } | undefined;
                schemas?: {
                    id?: undefined;
                    name: never;
                    props: {
                        [x: string]: any;
                    };
                    type?: undefined;
                }[] | undefined;
            }[] | undefined;
        } | undefined;
    }[];
    loading: never;
} & {
    fetchList: (params: ConditionFetchParams) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_CONDITIONS__FETCH_LIST", {
        params: ConditionFetchParams;
    }>;
} & IProps, "applicationId" | "folderId" | "list" | "loading" | "fetchList" | "pageInfo">>;
export default _default;
