import React from 'react';
import { RootState } from 'typesafe-actions';
import './style.css';
declare const mapStateToProps: (store: RootState) => {
    applicationId: never;
    groupList: {
        applicationId: never;
        deleted: never;
        folderPath: never;
        intro: never;
        name?: undefined;
        parentFolderId: never;
        tags: {
            origin: never;
            resourceId?: undefined;
            resourceName?: undefined;
            resourceType?: undefined;
            resourceScope?: undefined;
            type?: undefined;
        }[];
        id: never;
        createTime?: undefined;
        creator?: {
            id: never;
            account: never;
            nickName?: undefined;
        } | undefined;
        updateTime?: undefined;
    }[];
    open: never;
    loading: never;
    componentInfo: {
        title: never;
        fileId: never;
        liveVersion: never;
        liveVersionNumber: never;
        id: never;
        createTime?: undefined;
        creator?: {
            id: never;
            account: never;
            nickName?: undefined;
        } | undefined;
        updateTime?: undefined;
        online?: undefined;
        tags: {
            [x: string]: never;
        }[];
        type: never;
    };
    fileDetail: {
        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;
    };
    groupLoading: never;
    saving: never;
    lastVersion: {
        content: {
            id?: undefined;
            meta: never;
            schema: never;
            useStyleEditor?: undefined;
            enableChildren?: undefined;
            changelog?: undefined;
            resource: {
                entry: {
                    browser?: {
                        contentId: never;
                        path: never;
                    } | undefined;
                    node?: {
                        contentId: never;
                        path: never;
                    } | undefined;
                    debug?: {
                        contentId: never;
                        path: never;
                    } | undefined;
                    css?: {
                        contentId: never;
                        path: never;
                    } | undefined;
                    editor?: {
                        contentId: never;
                        path: never;
                    } | undefined;
                };
                'editor-entry': {
                    id: never;
                    name: never;
                }[];
                dependencies: {
                    id: never;
                    name: never;
                }[];
            };
        };
        id: never;
        createTime?: undefined;
        creator?: {
            id: never;
            account: never;
            nickName?: undefined;
        } | undefined;
        updateTime?: undefined;
        contentId: never;
        version: never;
        status: never;
        versionNumber: never;
    };
    componentRemote: {
        component: {
            content: {
                meta?: {} | undefined;
                resource: {
                    entry: {
                        browser?: {
                            contentId: never;
                            path: never;
                        } | undefined;
                        node?: {
                            contentId: never;
                            path: never;
                        } | undefined;
                        debug?: {
                            contentId: never;
                            path: never;
                        } | undefined;
                        css?: {
                            contentId: never;
                            path: never;
                        } | undefined;
                        editor?: {
                            contentId: never;
                            path: never;
                        } | undefined;
                    };
                    'editor-entry': {
                        id: never;
                        name: never;
                    }[];
                    dependencies: {
                        id: never;
                        name: never;
                    }[];
                };
            };
            id: never;
            version: never;
        };
        resource: {
            files: {
                cjs: {
                    "production.js"?: undefined;
                };
                umd: {
                    "style.css"?: undefined;
                    "editor.js"?: undefined;
                    "development.js"?: undefined;
                    "production.min.js"?: undefined;
                };
            };
            groupId: never;
            groupName: never;
            isNew: never;
            name: never;
            resourceName: never;
            latestVersion: never;
            version: never;
        };
    };
};
declare const mapDispatchToProps: {
    closeDrawer: (open: boolean) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_DETAIL__UPDATE_SYNC_DRAWER_OPEN_STATUS", {
        open: boolean;
    }>;
    fetchFileDetail: (params: import("../../../../../../../../typings").FilesFetchParams) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_DETAIL__FETCH_FILE_DETAIL", {
        ids: string[];
        applicationId: string;
    }>;
    fetchComponentVersionsAction: (params: import("../../../../../../../../typings").AppComponentDetailFetchComponentVersionsParams, options?: import("../../../../../../../../typings").OptionsAction<unknown> | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_DETAIL__FETCH_COMPONENT_VERSIONS_API", {
        params: import("../../../../../../../../typings").AppComponentDetailFetchComponentVersionsParams;
        options: import("../../../../../../../../typings").OptionsAction<unknown> | undefined;
    }>;
    fetchComponentRemotes: (params: import("../../../../../../../../typings").RemoteComponentFetchParams) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_FAST__FETCH_PACKAGES", {
        groupId: string;
        name?: string | undefined;
        id?: string | undefined;
        applicationId?: string | undefined;
        page?: number | undefined;
        size?: number | undefined;
        search?: string | undefined;
    }>;
    update: (componentName: string, params: Record<string, string>) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_FAST__UPDATE_CHANGES", {
        componentName: string;
        params: Record<string, string>;
    }>;
    save: (applicationId: string, cb?: (() => void) | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_FAST__SAVE_CHANGES", {
        applicationId: string;
        cb: (() => void) | undefined;
    }>;
    selectGroup: (id: string) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_FAST__SELECT_GROUP", {
        id: string;
    }>;
    select: (selected: string[]) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_FAST__UPDATE_SELECTED", {
        selected: string[];
    }>;
    fetchGroups: (params: import("../../../../../../../../typings").ApplicationResourcesAllGroupsFetchParams, options?: import("../../../../../../../../typings").OptionsAction<unknown> | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_RESOURCES_GROUPS___FETCH_GROUPS", {
        params: import("../../../../../../../../typings").ApplicationResourcesAllGroupsFetchParams;
        options: import("../../../../../../../../typings").OptionsAction<unknown> | undefined;
    }>;
};
declare type ComponentDetailCloudSyncDrawerType = ReturnType<typeof mapStateToProps> & typeof mapDispatchToProps;
declare const _default: import("react-redux").ConnectedComponent<React.FC<ComponentDetailCloudSyncDrawerType>, import("react-redux").Omit<{
    applicationId: never;
    groupList: {
        applicationId: never;
        deleted: never;
        folderPath: never;
        intro: never;
        name?: undefined;
        parentFolderId: never;
        tags: {
            origin: never;
            resourceId?: undefined;
            resourceName?: undefined;
            resourceType?: undefined;
            resourceScope?: undefined;
            type?: undefined;
        }[];
        id: never;
        createTime?: undefined;
        creator?: {
            id: never;
            account: never;
            nickName?: undefined;
        } | undefined;
        updateTime?: undefined;
    }[];
    open: never;
    loading: never;
    componentInfo: {
        title: never;
        fileId: never;
        liveVersion: never;
        liveVersionNumber: never;
        id: never;
        createTime?: undefined;
        creator?: {
            id: never;
            account: never;
            nickName?: undefined;
        } | undefined;
        updateTime?: undefined;
        online?: undefined;
        tags: {
            [x: string]: never;
        }[];
        type: never;
    };
    fileDetail: {
        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;
    };
    groupLoading: never;
    saving: never;
    lastVersion: {
        content: {
            id?: undefined;
            meta: never;
            schema: never;
            useStyleEditor?: undefined;
            enableChildren?: undefined;
            changelog?: undefined;
            resource: {
                entry: {
                    browser?: {
                        contentId: never;
                        path: never;
                    } | undefined;
                    node?: {
                        contentId: never;
                        path: never;
                    } | undefined;
                    debug?: {
                        contentId: never;
                        path: never;
                    } | undefined;
                    css?: {
                        contentId: never;
                        path: never;
                    } | undefined;
                    editor?: {
                        contentId: never;
                        path: never;
                    } | undefined;
                };
                'editor-entry': {
                    id: never;
                    name: never;
                }[];
                dependencies: {
                    id: never;
                    name: never;
                }[];
            };
        };
        id: never;
        createTime?: undefined;
        creator?: {
            id: never;
            account: never;
            nickName?: undefined;
        } | undefined;
        updateTime?: undefined;
        contentId: never;
        version: never;
        status: never;
        versionNumber: never;
    };
    componentRemote: {
        component: {
            content: {
                meta?: {} | undefined;
                resource: {
                    entry: {
                        browser?: {
                            contentId: never;
                            path: never;
                        } | undefined;
                        node?: {
                            contentId: never;
                            path: never;
                        } | undefined;
                        debug?: {
                            contentId: never;
                            path: never;
                        } | undefined;
                        css?: {
                            contentId: never;
                            path: never;
                        } | undefined;
                        editor?: {
                            contentId: never;
                            path: never;
                        } | undefined;
                    };
                    'editor-entry': {
                        id: never;
                        name: never;
                    }[];
                    dependencies: {
                        id: never;
                        name: never;
                    }[];
                };
            };
            id: never;
            version: never;
        };
        resource: {
            files: {
                cjs: {
                    "production.js"?: undefined;
                };
                umd: {
                    "style.css"?: undefined;
                    "editor.js"?: undefined;
                    "development.js"?: undefined;
                    "production.min.js"?: undefined;
                };
            };
            groupId: never;
            groupName: never;
            isNew: never;
            name: never;
            resourceName: never;
            latestVersion: never;
            version: never;
        };
    };
} & {
    closeDrawer: (open: boolean) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_DETAIL__UPDATE_SYNC_DRAWER_OPEN_STATUS", {
        open: boolean;
    }>;
    fetchFileDetail: (params: import("../../../../../../../../typings").FilesFetchParams) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_DETAIL__FETCH_FILE_DETAIL", {
        ids: string[];
        applicationId: string;
    }>;
    fetchComponentVersionsAction: (params: import("../../../../../../../../typings").AppComponentDetailFetchComponentVersionsParams, options?: import("../../../../../../../../typings").OptionsAction<unknown> | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_DETAIL__FETCH_COMPONENT_VERSIONS_API", {
        params: import("../../../../../../../../typings").AppComponentDetailFetchComponentVersionsParams;
        options: import("../../../../../../../../typings").OptionsAction<unknown> | undefined;
    }>;
    fetchComponentRemotes: (params: import("../../../../../../../../typings").RemoteComponentFetchParams) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_FAST__FETCH_PACKAGES", {
        groupId: string;
        name?: string | undefined;
        id?: string | undefined;
        applicationId?: string | undefined;
        page?: number | undefined;
        size?: number | undefined;
        search?: string | undefined;
    }>;
    update: (componentName: string, params: Record<string, string>) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_FAST__UPDATE_CHANGES", {
        componentName: string;
        params: Record<string, string>;
    }>;
    save: (applicationId: string, cb?: (() => void) | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_FAST__SAVE_CHANGES", {
        applicationId: string;
        cb: (() => void) | undefined;
    }>;
    selectGroup: (id: string) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_FAST__SELECT_GROUP", {
        id: string;
    }>;
    select: (selected: string[]) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_FAST__UPDATE_SELECTED", {
        selected: string[];
    }>;
    fetchGroups: (params: import("../../../../../../../../typings").ApplicationResourcesAllGroupsFetchParams, options?: import("../../../../../../../../typings").OptionsAction<unknown> | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_RESOURCES_GROUPS___FETCH_GROUPS", {
        params: import("../../../../../../../../typings").ApplicationResourcesAllGroupsFetchParams;
        options: import("../../../../../../../../typings").OptionsAction<unknown> | undefined;
    }>;
}, "applicationId" | "open" | "select" | "loading" | "fetchComponentVersionsAction" | "fetchFileDetail" | "fetchComponentRemotes" | "fileDetail" | "componentInfo" | "selectGroup" | "saving" | "groupList" | "closeDrawer" | "update" | "componentRemote" | "lastVersion" | "save" | "fetchGroups" | "groupLoading">>;
export default _default;
