import { RootState } from 'typesafe-actions';
declare const mapStateToProps: (store: RootState) => {
    pageInfo: {
        page: never;
        size: never;
        total: never;
    };
    condition: {
        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?: undefined;
        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;
        } | undefined;
        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;
    };
    type: never;
    visible: never;
};
declare const mapDispatchToProps: {
    closeDrawer: (open: boolean, editCondition?: import("../../../../../../../typings").ConditionEntity | undefined, type?: string | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_CONDITIONS__UPDATE_CONDITION_DRAWER_VISIBLE", {
        open: boolean;
        editCondition: import("../../../../../../../typings").ConditionEntity | undefined;
        type: string | undefined;
    }>;
    saveCondition: (params: import("../../../../../../../typings").ConditionSaveParams, cb?: ((condition?: string | undefined) => void) | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_CONDITIONS__SAVE_CONDITION", {
        params: import("../../../../../../../typings").ConditionSaveParams;
        cb: ((condition?: string | undefined) => void) | undefined;
    }>;
    fetchList: (params: import("../../../../../../../typings").ConditionFetchParams) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_CONDITIONS__FETCH_LIST", {
        params: import("../../../../../../../typings").ConditionFetchParams;
    }>;
};
declare type ConditionEditDrawer = ReturnType<typeof mapStateToProps> & typeof mapDispatchToProps & {
    applicationId: string;
    folderId?: string;
};
declare function EditDrawer(props: ConditionEditDrawer): JSX.Element;
declare const _default: import("react-redux").ConnectedComponent<typeof EditDrawer, import("react-redux").Omit<{
    pageInfo: {
        page: never;
        size: never;
        total: never;
    };
    condition: {
        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?: undefined;
        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;
        } | undefined;
        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;
    };
    type: never;
    visible: never;
} & {
    closeDrawer: (open: boolean, editCondition?: import("../../../../../../../typings").ConditionEntity | undefined, type?: string | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_CONDITIONS__UPDATE_CONDITION_DRAWER_VISIBLE", {
        open: boolean;
        editCondition: import("../../../../../../../typings").ConditionEntity | undefined;
        type: string | undefined;
    }>;
    saveCondition: (params: import("../../../../../../../typings").ConditionSaveParams, cb?: ((condition?: string | undefined) => void) | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_CONDITIONS__SAVE_CONDITION", {
        params: import("../../../../../../../typings").ConditionSaveParams;
        cb: ((condition?: string | undefined) => void) | undefined;
    }>;
    fetchList: (params: import("../../../../../../../typings").ConditionFetchParams) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_CONDITIONS__FETCH_LIST", {
        params: import("../../../../../../../typings").ConditionFetchParams;
    }>;
} & {
    applicationId: string;
    folderId?: string | undefined;
}, "type" | "condition" | "visible" | "fetchList" | "saveCondition" | "pageInfo" | "closeDrawer">>;
export default _default;
