import { RootState } from 'typesafe-actions';
import { FoxBuilderEvents, RenderStructureNode } from '@/types/index';
declare const mapStateToProps: (store: RootState) => {
    components: {
        id: never;
        name: never;
        label: never;
        type: never;
        version: never;
        isLiveVersion?: undefined;
        enableChildren?: undefined;
        schema?: {
            [x: string]: any;
        } | undefined;
        meta?: {
            notRender?: undefined;
            decorated?: undefined;
            isHtml?: undefined;
            isBody?: undefined;
            isHead?: undefined;
        } | undefined;
        components?: any[] | undefined;
        resource?: {
            entry: {
                node: {
                    host: never;
                    downloadHost: never;
                    path: never;
                    contentId: never;
                    origin: never;
                };
                browser: {
                    host: never;
                    downloadHost: never;
                    path: never;
                    contentId: never;
                    origin: never;
                };
                debug: {
                    host?: undefined;
                    downloadHost?: undefined;
                    path?: undefined;
                    contentId?: undefined;
                    origin?: undefined;
                };
                css: {
                    host?: undefined;
                    downloadHost?: undefined;
                    path?: undefined;
                    contentId?: undefined;
                    origin?: undefined;
                };
            };
            dependencies: {
                id: never;
                name: never;
            }[];
            'editor-entry': {
                id: never;
                name: never;
            }[];
        } | undefined;
        category?: {
            type?: undefined;
            name: never;
            categoryName: never;
            groupName: never;
            sort: never;
            rank: never;
            props: {};
            description: never;
            screenshot: never;
        } | undefined;
        useStyleEditor?: undefined;
    }[];
    application: {
        name: never;
        deleted: never;
        host: {
            url: never;
            locales: never[];
        }[];
        intro: never;
        locales: never[];
        organizationId: never;
        resources: {
            detail: {
                host: never;
                downloadHost: never;
            };
            type: never;
            id: never;
            name: never;
        }[];
        slug: never;
        id: never;
        createTime?: undefined;
        creator?: {
            id: never;
            account: never;
            nickName?: undefined;
        } | undefined;
        updateTime?: undefined;
    };
    selectedNode: {
        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;
    };
    state: {
        formattedSchemas: {
            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;
        }[];
        templateNodeMap: {
            [x: string]: {
                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;
            };
        };
        extendPageNodeMap: {
            [x: string]: {
                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;
            };
        };
        originPageNodeMap: {
            [x: string]: {
                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;
            };
        };
        idMockMap: {
            [x: string]: {
                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;
            };
        };
        componentMap: {
            [x: string]: {
                id: never;
                name: never;
                label: never;
                type: never;
                version: never;
                isLiveVersion?: undefined;
                enableChildren?: undefined;
                schema?: {
                    [x: string]: any;
                } | undefined;
                meta?: {
                    notRender?: undefined;
                    decorated?: undefined;
                    isHtml?: undefined;
                    isBody?: undefined;
                    isHead?: undefined;
                } | undefined;
                components?: any[] | undefined;
                resource?: {
                    entry: {
                        node: {
                            host: never;
                            downloadHost: never;
                            path: never;
                            contentId: never;
                            origin: never;
                        };
                        browser: {
                            host: never;
                            downloadHost: never;
                            path: never;
                            contentId: never;
                            origin: never;
                        };
                        debug: {
                            host?: undefined;
                            downloadHost?: undefined;
                            path?: undefined;
                            contentId?: undefined;
                            origin?: undefined;
                        };
                        css: {
                            host?: undefined;
                            downloadHost?: undefined;
                            path?: undefined;
                            contentId?: undefined;
                            origin?: undefined;
                        };
                    };
                    dependencies: {
                        id: never;
                        name: never;
                    }[];
                    'editor-entry': {
                        id: never;
                        name: never;
                    }[];
                } | undefined;
                category?: {
                    type?: undefined;
                    name: never;
                    categoryName: never;
                    groupName: never;
                    sort: never;
                    rank: never;
                    props: {};
                    description: never;
                    screenshot: never;
                } | undefined;
                useStyleEditor?: 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;
    };
    pageLocale: never;
    file: {
        application: {
            id: never;
            name: never;
        };
        deleted: never;
        intro: never;
        name: never;
        suffix: never;
        tags: {
            [x: string]: never;
        }[];
        type: never;
        online: never;
        hasContent: never;
        id: never;
        createTime?: undefined;
        creator?: {
            id: never;
            account: never;
            nickName?: undefined;
        } | undefined;
        updateTime?: undefined;
        folderId: never;
    };
};
declare const mapDispatchToProps: {
    selectComponent: (params: RenderStructureNode | null) => import("typesafe-actions").PayloadAction<"BUILDER_MAIN__SELECT_COMPONENT", {
        params: RenderStructureNode | null;
    }>;
    updateComponent: (params: RenderStructureNode) => import("typesafe-actions").PayloadAction<"BUILDER_EVENT__UPDATE_COMPONENT", {
        params: RenderStructureNode;
    }>;
    removeComponent: (params: RenderStructureNode) => import("typesafe-actions").PayloadAction<"BUILDER_EVENT__REMOVE_COMPONENT", {
        params: RenderStructureNode;
    }>;
    copyComponent: (params: RenderStructureNode) => import("typesafe-actions").PayloadAction<"BUILDER_EVENT__COPY_COMPONENT", {
        params: RenderStructureNode;
    }>;
    dropComponent: (params: import("@/types/index").DndData) => import("typesafe-actions").PayloadAction<"BUILDER_EVENT__DROP_COMPONENT", {
        params: import("@/types/index").DndData;
    }>;
};
declare type IProps = ReturnType<typeof mapStateToProps> & typeof mapDispatchToProps & {
    changeWindow: FoxBuilderEvents['onWindowChange'];
};
declare const _default: import("react-redux").ConnectedComponent<(props: IProps) => JSX.Element, import("react-redux").Omit<{
    components: {
        id: never;
        name: never;
        label: never;
        type: never;
        version: never;
        isLiveVersion?: undefined;
        enableChildren?: undefined;
        schema?: {
            [x: string]: any;
        } | undefined;
        meta?: {
            notRender?: undefined;
            decorated?: undefined;
            isHtml?: undefined;
            isBody?: undefined;
            isHead?: undefined;
        } | undefined;
        components?: any[] | undefined;
        resource?: {
            entry: {
                node: {
                    host: never;
                    downloadHost: never;
                    path: never;
                    contentId: never;
                    origin: never;
                };
                browser: {
                    host: never;
                    downloadHost: never;
                    path: never;
                    contentId: never;
                    origin: never;
                };
                debug: {
                    host?: undefined;
                    downloadHost?: undefined;
                    path?: undefined;
                    contentId?: undefined;
                    origin?: undefined;
                };
                css: {
                    host?: undefined;
                    downloadHost?: undefined;
                    path?: undefined;
                    contentId?: undefined;
                    origin?: undefined;
                };
            };
            dependencies: {
                id: never;
                name: never;
            }[];
            'editor-entry': {
                id: never;
                name: never;
            }[];
        } | undefined;
        category?: {
            type?: undefined;
            name: never;
            categoryName: never;
            groupName: never;
            sort: never;
            rank: never;
            props: {};
            description: never;
            screenshot: never;
        } | undefined;
        useStyleEditor?: undefined;
    }[];
    application: {
        name: never;
        deleted: never;
        host: {
            url: never;
            locales: never[];
        }[];
        intro: never;
        locales: never[];
        organizationId: never;
        resources: {
            detail: {
                host: never;
                downloadHost: never;
            };
            type: never;
            id: never;
            name: never;
        }[];
        slug: never;
        id: never;
        createTime?: undefined;
        creator?: {
            id: never;
            account: never;
            nickName?: undefined;
        } | undefined;
        updateTime?: undefined;
    };
    selectedNode: {
        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;
    };
    state: {
        formattedSchemas: {
            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;
        }[];
        templateNodeMap: {
            [x: string]: {
                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;
            };
        };
        extendPageNodeMap: {
            [x: string]: {
                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;
            };
        };
        originPageNodeMap: {
            [x: string]: {
                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;
            };
        };
        idMockMap: {
            [x: string]: {
                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;
            };
        };
        componentMap: {
            [x: string]: {
                id: never;
                name: never;
                label: never;
                type: never;
                version: never;
                isLiveVersion?: undefined;
                enableChildren?: undefined;
                schema?: {
                    [x: string]: any;
                } | undefined;
                meta?: {
                    notRender?: undefined;
                    decorated?: undefined;
                    isHtml?: undefined;
                    isBody?: undefined;
                    isHead?: undefined;
                } | undefined;
                components?: any[] | undefined;
                resource?: {
                    entry: {
                        node: {
                            host: never;
                            downloadHost: never;
                            path: never;
                            contentId: never;
                            origin: never;
                        };
                        browser: {
                            host: never;
                            downloadHost: never;
                            path: never;
                            contentId: never;
                            origin: never;
                        };
                        debug: {
                            host?: undefined;
                            downloadHost?: undefined;
                            path?: undefined;
                            contentId?: undefined;
                            origin?: undefined;
                        };
                        css: {
                            host?: undefined;
                            downloadHost?: undefined;
                            path?: undefined;
                            contentId?: undefined;
                            origin?: undefined;
                        };
                    };
                    dependencies: {
                        id: never;
                        name: never;
                    }[];
                    'editor-entry': {
                        id: never;
                        name: never;
                    }[];
                } | undefined;
                category?: {
                    type?: undefined;
                    name: never;
                    categoryName: never;
                    groupName: never;
                    sort: never;
                    rank: never;
                    props: {};
                    description: never;
                    screenshot: never;
                } | undefined;
                useStyleEditor?: 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;
    };
    pageLocale: never;
    file: {
        application: {
            id: never;
            name: never;
        };
        deleted: never;
        intro: never;
        name: never;
        suffix: never;
        tags: {
            [x: string]: never;
        }[];
        type: never;
        online: never;
        hasContent: never;
        id: never;
        createTime?: undefined;
        creator?: {
            id: never;
            account: never;
            nickName?: undefined;
        } | undefined;
        updateTime?: undefined;
        folderId: never;
    };
} & {
    selectComponent: (params: RenderStructureNode | null) => import("typesafe-actions").PayloadAction<"BUILDER_MAIN__SELECT_COMPONENT", {
        params: RenderStructureNode | null;
    }>;
    updateComponent: (params: RenderStructureNode) => import("typesafe-actions").PayloadAction<"BUILDER_EVENT__UPDATE_COMPONENT", {
        params: RenderStructureNode;
    }>;
    removeComponent: (params: RenderStructureNode) => import("typesafe-actions").PayloadAction<"BUILDER_EVENT__REMOVE_COMPONENT", {
        params: RenderStructureNode;
    }>;
    copyComponent: (params: RenderStructureNode) => import("typesafe-actions").PayloadAction<"BUILDER_EVENT__COPY_COMPONENT", {
        params: RenderStructureNode;
    }>;
    dropComponent: (params: import("@/types/index").DndData) => import("typesafe-actions").PayloadAction<"BUILDER_EVENT__DROP_COMPONENT", {
        params: import("@/types/index").DndData;
    }>;
} & {
    changeWindow: ((target: import("@/types/index").BuilderWindow, opt?: import("@/types/index").BuilderWindowChangeOptions | undefined) => void) | undefined;
}, "mock" | "application" | "file" | "components" | "selectComponent" | "selectedNode" | "state" | "pageLocale" | "updateComponent" | "removeComponent" | "copyComponent" | "dropComponent">>;
export default _default;
