import { RootState } from 'typesafe-actions';
import { FuncEntity } from '@/types/index';
declare const mapStateToProps: (store: RootState) => {
    applicationId: never;
    loading: never;
    pageInfo: {
        page: never;
        size: never;
        total: never;
    };
    list: {
        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;
        };
        contentId: never;
        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: {
    fetchList: (params: import("@/types/index").FuncFetchParams) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_FUNCTIONS__FETCH_LIST", {
        params: import("@/types/index").FuncFetchParams;
    }>;
    openDrawer: (open: boolean, editFunc?: FuncEntity | undefined, type?: string | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_FUNCTIONS__UPDATE_FUNCTION_DRAWER_VISIBLE", {
        open: boolean;
        editFunc: FuncEntity | undefined;
        type: string | undefined;
    }>;
    deleteFunction: (params: import("@/types/index").CommonDeleteParams, cb?: (() => void) | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_FUNCTIONS__DELETE_FUNCTION", {
        params: import("@/types/index").CommonDeleteParams;
        cb: (() => void) | undefined;
    }>;
    publishFunction: (params: import("@/types/index").CommonPublishParams, cb?: (() => void) | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_FUNCTIONS__PUBLISH_FUNCTION", {
        params: import("@/types/index").CommonPublishParams;
        cb: (() => void) | undefined;
    }>;
};
declare type FunctionListType = ReturnType<typeof mapStateToProps> & typeof mapDispatchToProps;
declare function FunctionList(props: FunctionListType): JSX.Element;
declare const _default: import("react-redux").ConnectedComponent<typeof FunctionList, import("react-redux").Omit<{
    applicationId: never;
    loading: never;
    pageInfo: {
        page: never;
        size: never;
        total: never;
    };
    list: {
        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;
        };
        contentId: never;
        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;
    }[];
} & {
    fetchList: (params: import("@/types/index").FuncFetchParams) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_FUNCTIONS__FETCH_LIST", {
        params: import("@/types/index").FuncFetchParams;
    }>;
    openDrawer: (open: boolean, editFunc?: FuncEntity | undefined, type?: string | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_FUNCTIONS__UPDATE_FUNCTION_DRAWER_VISIBLE", {
        open: boolean;
        editFunc: FuncEntity | undefined;
        type: string | undefined;
    }>;
    deleteFunction: (params: import("@/types/index").CommonDeleteParams, cb?: (() => void) | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_FUNCTIONS__DELETE_FUNCTION", {
        params: import("@/types/index").CommonDeleteParams;
        cb: (() => void) | undefined;
    }>;
    publishFunction: (params: import("@/types/index").CommonPublishParams, cb?: (() => void) | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_FUNCTIONS__PUBLISH_FUNCTION", {
        params: import("@/types/index").CommonPublishParams;
        cb: (() => void) | undefined;
    }>;
}, "applicationId" | "list" | "loading" | "fetchList" | "publishFunction" | "deleteFunction" | "pageInfo" | "openDrawer">>;
export default _default;
