import React from 'react';
import { RootState } from 'typesafe-actions';
import { ComponentVersionEntity } from '@/types/index';
declare const mapStateToProps: (store: RootState) => {
    applicationId: 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;
    };
    loading: never;
    versions: {
        fileId: never;
        isLiveVersion: never;
        version: never;
        versionNumber: never;
        status: never;
        content: {
            id?: undefined;
            meta: never;
            schema: never;
            resource?: {
                entry?: {
                    browser?: undefined;
                    debug?: undefined;
                    node?: undefined;
                    css?: undefined;
                } | undefined;
                'editor-entry': {
                    id: never;
                    name: never;
                }[];
                dependencies: {
                    id: never;
                    name: never;
                }[];
            } | undefined;
            useStyleEditor?: undefined;
            enableChildren?: undefined;
            changelog?: undefined;
        };
        contentId: never;
        id: never;
        createTime?: undefined;
        creator?: {
            id: never;
            account: never;
            nickName?: undefined;
        } | undefined;
        updateTime?: undefined;
    }[];
    pageInfo: {
        page: never;
        size: never;
        total: 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: {
    updateVersionListState: (params: Partial<{
        applicationId: string;
        fileId: string;
        loading: boolean;
        versions: ComponentVersionEntity[];
        pageInfo: import("@/types/index").PaginationInfo;
    }>) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_DETAIL__UPDATE_VERSION_LIST_STATE", {
        params: Partial<{
            applicationId: string;
            fileId: string;
            loading: boolean;
            versions: ComponentVersionEntity[];
            pageInfo: import("@/types/index").PaginationInfo;
        }>;
    }>;
    fetchVersionList: (params: import("@/types/index").AppComponentDetailFetchComponentVersionsParams, options?: import("@/types/index").OptionsAction<unknown> | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_DETAIL__FETCH_COMPONENT_VERSIONS_API", {
        params: import("@/types/index").AppComponentDetailFetchComponentVersionsParams;
        options: import("@/types/index").OptionsAction<unknown> | undefined;
    }>;
    updateVersionStatus: (params: import("@/types/index").ComponentsVersionPublishParams, options?: import("@/types/index").OptionsAction<unknown> | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_DETAIL__UPDATE_COMPONENT_VERSION_STATUS_API", {
        params: import("@/types/index").ComponentsVersionPublishParams;
        options: import("@/types/index").OptionsAction<unknown> | undefined;
    }>;
    liveVersion: (params: import("@/types/index").ComponentsLiveVersionUpdateParams, options?: import("@/types/index").OptionsAction<unknown> | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_DETAIL__LIVE_COMPONENT_VERSION_API", {
        params: import("@/types/index").ComponentsLiveVersionUpdateParams;
        options: import("@/types/index").OptionsAction<unknown> | undefined;
    }>;
    editVersion: (params: Partial<import("@/types/index").CommonDrawerEntity>) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_DETAIL__UPDATE_VERSION_DRAWER_STATE", {
        params: Partial<import("@/types/index").CommonDrawerEntity>;
    }>;
    viewVersion: (params: Partial<import("@/types/index").CommonDrawerEntity>) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_DETAIL__UPDATE_VERSION_DRAWER_STATE", {
        params: Partial<import("@/types/index").CommonDrawerEntity>;
    }>;
};
declare type ComponentDetailListType = ReturnType<typeof mapStateToProps> & typeof mapDispatchToProps;
declare const _default: import("react-redux").ConnectedComponent<React.FC<ComponentDetailListType>, import("react-redux").Omit<{
    applicationId: 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;
    };
    loading: never;
    versions: {
        fileId: never;
        isLiveVersion: never;
        version: never;
        versionNumber: never;
        status: never;
        content: {
            id?: undefined;
            meta: never;
            schema: never;
            resource?: {
                entry?: {
                    browser?: undefined;
                    debug?: undefined;
                    node?: undefined;
                    css?: undefined;
                } | undefined;
                'editor-entry': {
                    id: never;
                    name: never;
                }[];
                dependencies: {
                    id: never;
                    name: never;
                }[];
            } | undefined;
            useStyleEditor?: undefined;
            enableChildren?: undefined;
            changelog?: undefined;
        };
        contentId: never;
        id: never;
        createTime?: undefined;
        creator?: {
            id: never;
            account: never;
            nickName?: undefined;
        } | undefined;
        updateTime?: undefined;
    }[];
    pageInfo: {
        page: never;
        size: never;
        total: 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;
    };
} & {
    updateVersionListState: (params: Partial<{
        applicationId: string;
        fileId: string;
        loading: boolean;
        versions: ComponentVersionEntity[];
        pageInfo: import("@/types/index").PaginationInfo;
    }>) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_DETAIL__UPDATE_VERSION_LIST_STATE", {
        params: Partial<{
            applicationId: string;
            fileId: string;
            loading: boolean;
            versions: ComponentVersionEntity[];
            pageInfo: import("@/types/index").PaginationInfo;
        }>;
    }>;
    fetchVersionList: (params: import("@/types/index").AppComponentDetailFetchComponentVersionsParams, options?: import("@/types/index").OptionsAction<unknown> | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_DETAIL__FETCH_COMPONENT_VERSIONS_API", {
        params: import("@/types/index").AppComponentDetailFetchComponentVersionsParams;
        options: import("@/types/index").OptionsAction<unknown> | undefined;
    }>;
    updateVersionStatus: (params: import("@/types/index").ComponentsVersionPublishParams, options?: import("@/types/index").OptionsAction<unknown> | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_DETAIL__UPDATE_COMPONENT_VERSION_STATUS_API", {
        params: import("@/types/index").ComponentsVersionPublishParams;
        options: import("@/types/index").OptionsAction<unknown> | undefined;
    }>;
    liveVersion: (params: import("@/types/index").ComponentsLiveVersionUpdateParams, options?: import("@/types/index").OptionsAction<unknown> | undefined) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_DETAIL__LIVE_COMPONENT_VERSION_API", {
        params: import("@/types/index").ComponentsLiveVersionUpdateParams;
        options: import("@/types/index").OptionsAction<unknown> | undefined;
    }>;
    editVersion: (params: Partial<import("@/types/index").CommonDrawerEntity>) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_DETAIL__UPDATE_VERSION_DRAWER_STATE", {
        params: Partial<import("@/types/index").CommonDrawerEntity>;
    }>;
    viewVersion: (params: Partial<import("@/types/index").CommonDrawerEntity>) => import("typesafe-actions").PayloadAction<"APPLICATION_PACKAGES_DETAIL__UPDATE_VERSION_DRAWER_STATE", {
        params: Partial<import("@/types/index").CommonDrawerEntity>;
    }>;
}, "applicationId" | "liveVersion" | "loading" | "pageInfo" | "updateVersionListState" | "fileDetail" | "componentInfo" | "versions" | "editVersion" | "fetchVersionList" | "updateVersionStatus" | "viewVersion">>;
export default _default;
