import React from 'react';
import { RootState } from 'typesafe-actions';
import { FileType } from '@/constants/index';
declare const mapStateToProps: (store: RootState) => {
    loading: never;
    pageInfo: {
        page: never;
        size: never;
        total: never;
    };
    packageResourceList: {
        details: {
            applicationId: never;
            projectId: never;
            type: never;
            id: never;
        };
        application: {
            id: never;
            name: never;
        };
        checked?: undefined;
        intro: never;
        name: never;
        id: never;
        createTime?: undefined;
        creator?: {
            id: never;
            account: never;
            nickName?: undefined;
        } | undefined;
        updateTime?: undefined;
    }[];
    projectResourceList: {
        files: {
            details: {
                applicationId: never;
                projectId: never;
                type: never;
                id: never;
            };
            type: never;
            contents?: {
                title: never;
                fileId: never;
                fold?: undefined;
                urls: never[];
                isBase?: undefined;
                version?: undefined;
                extendId?: undefined;
                liveVersionNumber?: undefined;
                id: never;
                creator?: {
                    id: never;
                    account: never;
                    nickName?: undefined;
                } | undefined;
                tags: {
                    [x: string]: never;
                }[];
                type: never;
            }[] | undefined;
            id: never;
            name: never;
        }[];
        application: {
            id: never;
            name: never;
        };
        checked?: undefined;
        intro: never;
        name: never;
        id: never;
        createTime?: undefined;
        creator?: {
            id: never;
            account: never;
            nickName?: undefined;
        } | undefined;
        updateTime?: undefined;
    }[];
    variableResourceList: {
        details: {
            applicationId: never;
            projectId: never;
            type: never;
            id: never;
        };
        application: {
            id: never;
            name: never;
        };
        checked?: undefined;
        intro: never;
        name: never;
        id: never;
        createTime?: undefined;
        creator?: {
            id: never;
            account: never;
            nickName?: undefined;
        } | undefined;
        updateTime?: undefined;
    }[];
    searchText: never;
    selectedAppIds: never[];
    type: never;
};
declare const mapDispatchToProps: {
    clearAll: () => import("typesafe-actions").PayloadAction<"STORE_CLEAR_ALL", {}>;
    fetchResources: (params: import("../../../typings").StoreResourceSearchParams) => import("typesafe-actions").PayloadAction<"STORE__FETCH_RESOURCES", {
        type: string;
        appIds?: string[] | undefined;
        page?: number | undefined;
        size?: number | undefined;
        search?: string | undefined;
    }>;
    fetchAllApplicationList: (params: import("../../../typings").PaginationReqParams) => import("typesafe-actions").PayloadAction<"STORE__FETCH_ALL_APPLICATION_LIST", {
        page?: number | undefined;
        size?: number | undefined;
        search?: string | undefined;
    }>;
    updateType: (type: FileType) => import("typesafe-actions").PayloadAction<"STORE__UPDATE_TYPE", {
        type: FileType;
    }>;
    updateBuyModalVisible: (visible: boolean, ids?: string[] | undefined) => import("typesafe-actions").PayloadAction<"STORE__UPDATE_BUY_MODAL_VISIBLE", {
        visible: boolean;
        ids: string[] | undefined;
    }>;
    updatePreviewModalVisible: (visible: boolean, resourceItem?: any) => import("typesafe-actions").PayloadAction<"STORE__UPDATE_PREVIEW_MODAL_VISIBLE", {
        visible: boolean;
        resourceItem: any;
    }>;
    updateProjectResourceItemChecked: (id: string) => import("typesafe-actions").PayloadAction<"STORE__UPDATE_RESOURCE_ITEM_CHECKED", {
        id: string;
    }>;
    updatePackageResourceItemChecked: (id: string) => import("typesafe-actions").PayloadAction<"STORE__UPDATE_PACKAGE_RESOURCE_ITEM_CHECKED", {
        id: string;
    }>;
    updateVariableResourceItemChecked: (id: string) => import("typesafe-actions").PayloadAction<"STORE__UPDATE_VARIABLE_RESOURCE_ITEM_CHECKED", {
        id: string;
    }>;
    updateSearchText: (text: string) => import("typesafe-actions").PayloadAction<"STORE__UPDATE_SEARCH_TEXT", {
        text: string;
    }>;
    updateSelectedAppIds: (ids: string[]) => import("typesafe-actions").PayloadAction<"STORE__UPDATE_SELECTED_APP_IDS", {
        ids: string[];
    }>;
};
declare type StoreResourceProps = ReturnType<typeof mapStateToProps> & typeof mapDispatchToProps;
declare const _default: import("react-redux").ConnectedComponent<React.FC<StoreResourceProps>, import("react-redux").Omit<{
    loading: never;
    pageInfo: {
        page: never;
        size: never;
        total: never;
    };
    packageResourceList: {
        details: {
            applicationId: never;
            projectId: never;
            type: never;
            id: never;
        };
        application: {
            id: never;
            name: never;
        };
        checked?: undefined;
        intro: never;
        name: never;
        id: never;
        createTime?: undefined;
        creator?: {
            id: never;
            account: never;
            nickName?: undefined;
        } | undefined;
        updateTime?: undefined;
    }[];
    projectResourceList: {
        files: {
            details: {
                applicationId: never;
                projectId: never;
                type: never;
                id: never;
            };
            type: never;
            contents?: {
                title: never;
                fileId: never;
                fold?: undefined;
                urls: never[];
                isBase?: undefined;
                version?: undefined;
                extendId?: undefined;
                liveVersionNumber?: undefined;
                id: never;
                creator?: {
                    id: never;
                    account: never;
                    nickName?: undefined;
                } | undefined;
                tags: {
                    [x: string]: never;
                }[];
                type: never;
            }[] | undefined;
            id: never;
            name: never;
        }[];
        application: {
            id: never;
            name: never;
        };
        checked?: undefined;
        intro: never;
        name: never;
        id: never;
        createTime?: undefined;
        creator?: {
            id: never;
            account: never;
            nickName?: undefined;
        } | undefined;
        updateTime?: undefined;
    }[];
    variableResourceList: {
        details: {
            applicationId: never;
            projectId: never;
            type: never;
            id: never;
        };
        application: {
            id: never;
            name: never;
        };
        checked?: undefined;
        intro: never;
        name: never;
        id: never;
        createTime?: undefined;
        creator?: {
            id: never;
            account: never;
            nickName?: undefined;
        } | undefined;
        updateTime?: undefined;
    }[];
    searchText: never;
    selectedAppIds: never[];
    type: never;
} & {
    clearAll: () => import("typesafe-actions").PayloadAction<"STORE_CLEAR_ALL", {}>;
    fetchResources: (params: import("../../../typings").StoreResourceSearchParams) => import("typesafe-actions").PayloadAction<"STORE__FETCH_RESOURCES", {
        type: string;
        appIds?: string[] | undefined;
        page?: number | undefined;
        size?: number | undefined;
        search?: string | undefined;
    }>;
    fetchAllApplicationList: (params: import("../../../typings").PaginationReqParams) => import("typesafe-actions").PayloadAction<"STORE__FETCH_ALL_APPLICATION_LIST", {
        page?: number | undefined;
        size?: number | undefined;
        search?: string | undefined;
    }>;
    updateType: (type: FileType) => import("typesafe-actions").PayloadAction<"STORE__UPDATE_TYPE", {
        type: FileType;
    }>;
    updateBuyModalVisible: (visible: boolean, ids?: string[] | undefined) => import("typesafe-actions").PayloadAction<"STORE__UPDATE_BUY_MODAL_VISIBLE", {
        visible: boolean;
        ids: string[] | undefined;
    }>;
    updatePreviewModalVisible: (visible: boolean, resourceItem?: any) => import("typesafe-actions").PayloadAction<"STORE__UPDATE_PREVIEW_MODAL_VISIBLE", {
        visible: boolean;
        resourceItem: any;
    }>;
    updateProjectResourceItemChecked: (id: string) => import("typesafe-actions").PayloadAction<"STORE__UPDATE_RESOURCE_ITEM_CHECKED", {
        id: string;
    }>;
    updatePackageResourceItemChecked: (id: string) => import("typesafe-actions").PayloadAction<"STORE__UPDATE_PACKAGE_RESOURCE_ITEM_CHECKED", {
        id: string;
    }>;
    updateVariableResourceItemChecked: (id: string) => import("typesafe-actions").PayloadAction<"STORE__UPDATE_VARIABLE_RESOURCE_ITEM_CHECKED", {
        id: string;
    }>;
    updateSearchText: (text: string) => import("typesafe-actions").PayloadAction<"STORE__UPDATE_SEARCH_TEXT", {
        text: string;
    }>;
    updateSelectedAppIds: (ids: string[]) => import("typesafe-actions").PayloadAction<"STORE__UPDATE_SELECTED_APP_IDS", {
        ids: string[];
    }>;
}, "type" | "loading" | "clearAll" | "pageInfo" | "fetchResources" | "updateBuyModalVisible" | "updatePreviewModalVisible" | "updateProjectResourceItemChecked" | "updatePackageResourceItemChecked" | "updateVariableResourceItemChecked" | "updateSearchText" | "updateSelectedAppIds" | "updateType" | "fetchAllApplicationList" | "projectResourceList" | "packageResourceList" | "variableResourceList" | "searchText" | "selectedAppIds">>;
export default _default;
