import React from 'react';
import { RootState } from 'typesafe-actions';
declare const mapStateToProps: (store: RootState) => {
    editorDrawerOpen: never;
    editVariable: {
        name?: undefined;
        type?: undefined;
        applicationId?: undefined;
        content: {
            id: never;
            schemas: {
                type: never;
                name: never;
                props: {
                    type: never;
                    value: {
                        [x: string]: never;
                    };
                } | {
                    function: never;
                    args: {
                        [x: string]: never;
                    }[];
                };
            }[];
            relation: {
                [x: string]: {
                    content?: any;
                    id?: undefined;
                    name?: undefined;
                    type: never;
                };
            };
        };
        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;
    };
    pageInfo: {
        page: never;
        size: never;
        total: never;
    };
};
declare const mapDispatchToProps: {
    closeDrawer: (open: boolean, variable?: import("@/types/index").VariableEntity | undefined, type?: string | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_VARIABLES__OPEN_EDIT_DRAWER", {
        open: boolean;
        variable: import("@/types/index").VariableEntity | undefined;
        type: string | undefined;
    }>;
    fetchList: (params: import("@/types/index").VariablesFetchParams) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_VARIABLES__FETCH_LIST", {
        params: import("@/types/index").VariablesFetchParams;
    }>;
    saveVariable: (params: import("@/types/index").VariableSaveParams, cb?: (() => void) | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_VARIABLES__SAVE_VARIABLE", {
        params: import("@/types/index").VariableSaveParams;
        cb: (() => void) | undefined;
    }>;
    update: (key: string, value: unknown) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_VARIABLES__UPDATE_EDIT_VARIABLE_VALUE", {
        key: string;
        value: unknown;
    }>;
    updateContent: (key: string, value: unknown) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_VARIABLES__UPDATE_VARIABLE_CONTENT_VALUE", {
        key: string;
        value: unknown;
    }>;
    updateRelation: (key: string, value: unknown) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_VARIABLES__UPDATE_VARIABLE_CONTENT_RELATION", {
        key: string;
        value: unknown;
    }>;
    updateVariableContentProps: (key: string, value: unknown) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_VARIABLES__UPDATE_VARIABLE_CONTENT_PROPS", {
        key: string;
        value: unknown;
    }>;
    updateVariableRelations: (relations: import("@/types/index").RelationDetails) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_VARIABLES__UPDATE_VARIABLE_RELATIONS", {
        relations: import("@/types/index").RelationDetails;
    }>;
};
interface IProps {
    applicationId: string;
    folderId?: string;
}
declare type Type = ReturnType<typeof mapStateToProps> & typeof mapDispatchToProps & IProps;
declare const _default: import("react-redux").ConnectedComponent<React.FC<Type>, import("react-redux").Omit<{
    editorDrawerOpen: never;
    editVariable: {
        name?: undefined;
        type?: undefined;
        applicationId?: undefined;
        content: {
            id: never;
            schemas: {
                type: never;
                name: never;
                props: {
                    type: never;
                    value: {
                        [x: string]: never;
                    };
                } | {
                    function: never;
                    args: {
                        [x: string]: never;
                    }[];
                };
            }[];
            relation: {
                [x: string]: {
                    content?: any;
                    id?: undefined;
                    name?: undefined;
                    type: never;
                };
            };
        };
        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;
    };
    pageInfo: {
        page: never;
        size: never;
        total: never;
    };
} & {
    closeDrawer: (open: boolean, variable?: import("@/types/index").VariableEntity | undefined, type?: string | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_VARIABLES__OPEN_EDIT_DRAWER", {
        open: boolean;
        variable: import("@/types/index").VariableEntity | undefined;
        type: string | undefined;
    }>;
    fetchList: (params: import("@/types/index").VariablesFetchParams) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_VARIABLES__FETCH_LIST", {
        params: import("@/types/index").VariablesFetchParams;
    }>;
    saveVariable: (params: import("@/types/index").VariableSaveParams, cb?: (() => void) | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_VARIABLES__SAVE_VARIABLE", {
        params: import("@/types/index").VariableSaveParams;
        cb: (() => void) | undefined;
    }>;
    update: (key: string, value: unknown) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_VARIABLES__UPDATE_EDIT_VARIABLE_VALUE", {
        key: string;
        value: unknown;
    }>;
    updateContent: (key: string, value: unknown) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_VARIABLES__UPDATE_VARIABLE_CONTENT_VALUE", {
        key: string;
        value: unknown;
    }>;
    updateRelation: (key: string, value: unknown) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_VARIABLES__UPDATE_VARIABLE_CONTENT_RELATION", {
        key: string;
        value: unknown;
    }>;
    updateVariableContentProps: (key: string, value: unknown) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_VARIABLES__UPDATE_VARIABLE_CONTENT_PROPS", {
        key: string;
        value: unknown;
    }>;
    updateVariableRelations: (relations: import("@/types/index").RelationDetails) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_VARIABLES__UPDATE_VARIABLE_RELATIONS", {
        relations: import("@/types/index").RelationDetails;
    }>;
} & IProps, "fetchList" | "pageInfo" | "updateVariableRelations" | "updateVariableContentProps" | "saveVariable" | "editVariable" | "editorDrawerOpen" | "updateContent" | "closeDrawer" | "update" | "updateRelation">>;
export default _default;
