import React from 'react';
import { RootState } from 'typesafe-actions';
declare const mapStateToProps: (store: RootState) => {
    applicationId: never;
    contentId: never;
    open: never;
    type: undefined;
    data: any;
    packageType: 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;
    };
};
declare const mapDispatchToProps: {
    closeDrawer: () => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_DETAIL__RESET_VERSION_DRAWER_STATE", {}>;
    addVersion: (params: Partial<import("@/types/application").ComponentsVersionSaveParams>, options?: import("../../../../../../../../typings").OptionsAction<unknown> | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_DETAIL__ADD_COMPONENT_VERSION_API", {
        params: Partial<import("@/types/application").ComponentsVersionSaveParams>;
        options: import("../../../../../../../../typings").OptionsAction<unknown> | undefined;
    }>;
    editVersion: (params: import("@/types/application").ComponentsVersionUpdateParams, options?: import("../../../../../../../../typings").OptionsAction<unknown> | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_DETAIL__EDIT_COMPONENT_VERSION_API", {
        params: import("@/types/application").ComponentsVersionUpdateParams;
        options: import("../../../../../../../../typings").OptionsAction<unknown> | undefined;
    }>;
};
declare type ComponentDetailEditDrawerType = ReturnType<typeof mapStateToProps> & typeof mapDispatchToProps;
declare const _default: import("react-redux").ConnectedComponent<React.FC<ComponentDetailEditDrawerType>, import("react-redux").Omit<{
    applicationId: never;
    contentId: never;
    open: never;
    type: undefined;
    data: any;
    packageType: 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;
    };
} & {
    closeDrawer: () => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_DETAIL__RESET_VERSION_DRAWER_STATE", {}>;
    addVersion: (params: Partial<import("@/types/application").ComponentsVersionSaveParams>, options?: import("../../../../../../../../typings").OptionsAction<unknown> | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_DETAIL__ADD_COMPONENT_VERSION_API", {
        params: Partial<import("@/types/application").ComponentsVersionSaveParams>;
        options: import("../../../../../../../../typings").OptionsAction<unknown> | undefined;
    }>;
    editVersion: (params: import("@/types/application").ComponentsVersionUpdateParams, options?: import("../../../../../../../../typings").OptionsAction<unknown> | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_DETAIL__EDIT_COMPONENT_VERSION_API", {
        params: import("@/types/application").ComponentsVersionUpdateParams;
        options: import("../../../../../../../../typings").OptionsAction<unknown> | undefined;
    }>;
}, "applicationId" | "contentId" | "type" | "open" | "data" | "fileDetail" | "closeDrawer" | "packageType" | "addVersion" | "editVersion">>;
export default _default;
