import React from 'react';
import { RootState } from 'typesafe-actions';
import { ConditionEntity, ConditionSaveParams } from '@/types/index';
declare const mapStateToProps: (store: RootState) => {
    applicationId: never;
    folderId: never;
    locale: never;
    selectedComponent: {
        children?: any[] | undefined;
        __styleNode?: {
            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;
        } | undefined;
        __renderProps: {
            [x: string]: any;
        };
        __mock?: {
            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;
        } | undefined;
        __editorConfig?: {
            visible?: undefined;
            showInStructure?: undefined;
            directiveable?: undefined;
            moveable?: undefined;
            editable?: undefined;
            styleable?: undefined;
        } | undefined;
        id: never;
        label: never;
        name: never;
        props: {
            [x: string]: any;
        };
        version: never;
        type: never;
        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;
    };
    editorData: any;
    open: never;
};
declare const mapDispatchToProps: {
    fetchDetail: (params: import("@/types/index").ConditionDetailFetchParams, cb?: ((condition: ConditionEntity) => void) | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_CONDITIONS__FETCH_CONDITION_DETAIL", {
        params: import("@/types/index").ConditionDetailFetchParams;
        cb: ((condition: ConditionEntity) => void) | undefined;
    }>;
    saveCondition: (params: ConditionSaveParams, cb?: ((condition?: string | undefined) => void) | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_CONDITIONS__SAVE_CONDITION", {
        params: ConditionSaveParams;
        cb: ((condition?: string | undefined) => void) | undefined;
    }>;
    saveConditionVersion: (params: ConditionSaveParams, cb?: ((id: string) => void) | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_CONDITIONS__SAVE_CONDITION_VERSION", {
        params: ConditionSaveParams;
        cb: ((id: string) => void) | undefined;
    }>;
    closeDrawer: (open: boolean, type?: string | undefined, data?: any) => import("typesafe-actions").PayloadAction<"BUILDER_MAIN__UPDATE_TOOLBAR_EDITOR_VISIBLE", {
        open: boolean;
        type: string | undefined;
        data: any;
    }>;
    conditionBind: (conditionIds: string[]) => import("typesafe-actions").PayloadAction<"BUILDER_EVENT__CONDITION_BIND", {
        conditionIds: string[];
    }>;
};
declare type ConditionEditorProps = ReturnType<typeof mapStateToProps> & typeof mapDispatchToProps;
declare const _default: import("react-redux").ConnectedComponent<React.FC<ConditionEditorProps>, import("react-redux").Omit<{
    applicationId: never;
    folderId: never;
    locale: never;
    selectedComponent: {
        children?: any[] | undefined;
        __styleNode?: {
            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;
        } | undefined;
        __renderProps: {
            [x: string]: any;
        };
        __mock?: {
            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;
        } | undefined;
        __editorConfig?: {
            visible?: undefined;
            showInStructure?: undefined;
            directiveable?: undefined;
            moveable?: undefined;
            editable?: undefined;
            styleable?: undefined;
        } | undefined;
        id: never;
        label: never;
        name: never;
        props: {
            [x: string]: any;
        };
        version: never;
        type: never;
        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;
    };
    editorData: any;
    open: never;
} & {
    fetchDetail: (params: import("@/types/index").ConditionDetailFetchParams, cb?: ((condition: ConditionEntity) => void) | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_CONDITIONS__FETCH_CONDITION_DETAIL", {
        params: import("@/types/index").ConditionDetailFetchParams;
        cb: ((condition: ConditionEntity) => void) | undefined;
    }>;
    saveCondition: (params: ConditionSaveParams, cb?: ((condition?: string | undefined) => void) | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_CONDITIONS__SAVE_CONDITION", {
        params: ConditionSaveParams;
        cb: ((condition?: string | undefined) => void) | undefined;
    }>;
    saveConditionVersion: (params: ConditionSaveParams, cb?: ((id: string) => void) | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_FILE_CONDITIONS__SAVE_CONDITION_VERSION", {
        params: ConditionSaveParams;
        cb: ((id: string) => void) | undefined;
    }>;
    closeDrawer: (open: boolean, type?: string | undefined, data?: any) => import("typesafe-actions").PayloadAction<"BUILDER_MAIN__UPDATE_TOOLBAR_EDITOR_VISIBLE", {
        open: boolean;
        type: string | undefined;
        data: any;
    }>;
    conditionBind: (conditionIds: string[]) => import("typesafe-actions").PayloadAction<"BUILDER_EVENT__CONDITION_BIND", {
        conditionIds: string[];
    }>;
}, "applicationId" | "folderId" | "open" | "conditionBind" | "locale" | "saveCondition" | "saveConditionVersion" | "closeDrawer" | "fetchDetail" | "selectedComponent" | "editorData">>;
export default _default;
