import { RootState } from 'typesafe-actions';
import './style.css';
declare const mapStateToProps: (store: RootState) => {
    pageInfo: {
        page: never;
        size: never;
        total: never;
    };
    type: never;
    visible: never;
    func: {
        name?: undefined;
        type?: undefined;
        applicationId?: undefined;
        content?: {
            id?: undefined;
            schemas: {
                id?: undefined;
                name: never;
                props: {
                    async: never;
                    code: never;
                };
                type?: undefined;
            }[];
            relation?: {
                [x: string]: {
                    content?: any;
                    id?: undefined;
                    name?: undefined;
                    type: never;
                };
            } | undefined;
        } | undefined;
        contentId?: undefined;
        deleted?: undefined;
        folderId?: undefined;
        folderName?: undefined;
        intro?: undefined;
        online?: 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;
        relation?: {
            [x: string]: {
                content?: any;
                id?: undefined;
                name?: undefined;
                type: never;
            };
        } | undefined;
        schemas?: {
            id?: undefined;
            name: never;
            props: {
                [x: string]: any;
            };
            type?: undefined;
        }[] | undefined;
        suffix?: undefined;
        tags?: {
            [x: string]: never;
        }[] | undefined;
        version?: undefined;
        versionNumber?: undefined;
        id?: undefined;
        createTime?: undefined;
        updateTime?: undefined;
        creator?: {
            id: never;
            account: never;
            nickName?: undefined;
        } | undefined;
    };
};
declare const mapDispatchToProps: {
    closeDrawer: (open: boolean, editFunc?: import("../../../../../../../typings").FuncEntity | undefined, type?: string | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_FUNCTIONS__UPDATE_FUNCTION_DRAWER_VISIBLE", {
        open: boolean;
        editFunc: import("../../../../../../../typings").FuncEntity | undefined;
        type: string | undefined;
    }>;
    fetchList: (params: import("../../../../../../../typings").FuncFetchParams) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_FUNCTIONS__FETCH_LIST", {
        params: import("../../../../../../../typings").FuncFetchParams;
    }>;
    saveFunction: (params: import("../../../../../../../typings").FuncSaveParams, cb?: (() => void) | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_FUNCTIONS__SAVE_FUNCTION", {
        params: import("../../../../../../../typings").FuncSaveParams;
        cb: (() => void) | undefined;
    }>;
};
declare type FunctionEditDrawerType = ReturnType<typeof mapStateToProps> & typeof mapDispatchToProps & {
    applicationId: string;
    folderId?: string;
};
declare function EditDrawer(props: FunctionEditDrawerType): JSX.Element;
declare const _default: import("react-redux").ConnectedComponent<typeof EditDrawer, import("react-redux").Omit<{
    pageInfo: {
        page: never;
        size: never;
        total: never;
    };
    type: never;
    visible: never;
    func: {
        name?: undefined;
        type?: undefined;
        applicationId?: undefined;
        content?: {
            id?: undefined;
            schemas: {
                id?: undefined;
                name: never;
                props: {
                    async: never;
                    code: never;
                };
                type?: undefined;
            }[];
            relation?: {
                [x: string]: {
                    content?: any;
                    id?: undefined;
                    name?: undefined;
                    type: never;
                };
            } | undefined;
        } | undefined;
        contentId?: undefined;
        deleted?: undefined;
        folderId?: undefined;
        folderName?: undefined;
        intro?: undefined;
        online?: 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;
        relation?: {
            [x: string]: {
                content?: any;
                id?: undefined;
                name?: undefined;
                type: never;
            };
        } | undefined;
        schemas?: {
            id?: undefined;
            name: never;
            props: {
                [x: string]: any;
            };
            type?: undefined;
        }[] | undefined;
        suffix?: undefined;
        tags?: {
            [x: string]: never;
        }[] | undefined;
        version?: undefined;
        versionNumber?: undefined;
        id?: undefined;
        createTime?: undefined;
        updateTime?: undefined;
        creator?: {
            id: never;
            account: never;
            nickName?: undefined;
        } | undefined;
    };
} & {
    closeDrawer: (open: boolean, editFunc?: import("../../../../../../../typings").FuncEntity | undefined, type?: string | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_FUNCTIONS__UPDATE_FUNCTION_DRAWER_VISIBLE", {
        open: boolean;
        editFunc: import("../../../../../../../typings").FuncEntity | undefined;
        type: string | undefined;
    }>;
    fetchList: (params: import("../../../../../../../typings").FuncFetchParams) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_FUNCTIONS__FETCH_LIST", {
        params: import("../../../../../../../typings").FuncFetchParams;
    }>;
    saveFunction: (params: import("../../../../../../../typings").FuncSaveParams, cb?: (() => void) | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_FUNCTIONS__SAVE_FUNCTION", {
        params: import("../../../../../../../typings").FuncSaveParams;
        cb: (() => void) | undefined;
    }>;
} & {
    applicationId: string;
    folderId?: string | undefined;
}, "type" | "visible" | "fetchList" | "saveFunction" | "pageInfo" | "closeDrawer" | "func">>;
export default _default;
