import React from 'react';
import { RootState } from 'typesafe-actions';
declare const mapStateToProps: (state: RootState) => {
    variables: {
        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;
    }[];
    loading: never;
    applicationId: never;
    folderId: never;
    data: any;
    type: never;
    visible: never;
};
declare const mapDispatchToProps: {
    clearAll: () => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_VARIABLES__CLEAR_ALL", {}>;
    fetchVariableList: (params: import("@/types/index").VariablesFetchParams) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_VARIABLES__FETCH_LIST", {
        params: import("@/types/index").VariablesFetchParams;
    }>;
    closeModal: (open: boolean, type?: string | undefined, data?: any) => import("typesafe-actions").PayloadAction<"BUILDER_MAIN__UPDATE_TOOLBAR_MODAL_VISIBLE", {
        open: boolean;
        type: string | undefined;
        data: any;
    }>;
    variableBind: (keys: string, value?: string | undefined) => import("typesafe-actions").PayloadAction<"BUILDER_EVENT__VARIABLE_BIND", {
        keys: string;
        value: string | undefined;
    }>;
};
declare type VariableBindProps = ReturnType<typeof mapStateToProps> & typeof mapDispatchToProps;
declare const _default: import("react-redux").ConnectedComponent<React.FC<VariableBindProps>, import("react-redux").Omit<{
    variables: {
        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;
    }[];
    loading: never;
    applicationId: never;
    folderId: never;
    data: any;
    type: never;
    visible: never;
} & {
    clearAll: () => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_VARIABLES__CLEAR_ALL", {}>;
    fetchVariableList: (params: import("@/types/index").VariablesFetchParams) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_VARIABLES__FETCH_LIST", {
        params: import("@/types/index").VariablesFetchParams;
    }>;
    closeModal: (open: boolean, type?: string | undefined, data?: any) => import("typesafe-actions").PayloadAction<"BUILDER_MAIN__UPDATE_TOOLBAR_MODAL_VISIBLE", {
        open: boolean;
        type: string | undefined;
        data: any;
    }>;
    variableBind: (keys: string, value?: string | undefined) => import("typesafe-actions").PayloadAction<"BUILDER_EVENT__VARIABLE_BIND", {
        keys: string;
        value: string | undefined;
    }>;
}, "applicationId" | "type" | "folderId" | "variableBind" | "loading" | "data" | "visible" | "clearAll" | "variables" | "fetchVariableList" | "closeModal">>;
export default _default;
