import React from 'react';
import { RootState } from 'typesafe-actions';
declare const mapStateToProps: (store: RootState) => {
    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;
    };
    loading: never;
    saveLoading: never;
    contentList: {
        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;
    }[];
    extendRecord: {
        [x: string]: never[];
    };
    drawerOpen: never;
    editContent: {
        title?: undefined;
        fileId?: undefined;
        fold?: undefined;
        urls?: never[] | undefined;
        isBase?: undefined;
        version?: undefined;
        extendId?: undefined;
        liveVersionNumber?: undefined;
        id?: undefined;
        creator?: {
            id: never;
            account: never;
            nickName?: undefined;
        } | undefined;
        tags?: {
            [x: string]: never;
        }[] | undefined;
        type?: undefined;
    };
    baseContents: {
        id: never;
        name: never;
    }[];
    locales: never[];
};
declare const mapDispatchToProps: {
    clearAll: () => import("typesafe-actions").PayloadAction<"PROJECTS_CONTENT__CLEAR_ALL", {}>;
    fetchList: (params: import("../../../../typings").ProjectContentFetchParams) => import("typesafe-actions").PayloadAction<"PROJECTS_CONTENT__FETCH_CONTENT_LIST", {
        applicationId: string;
        fileType?: string | undefined;
        fileId: string;
    }>;
    fetchFileDetail: (params: import("../../../../typings").FilesFetchParams) => import("typesafe-actions").PayloadAction<"PROJECTS_CONTENT__FETCH_FILE_DETAIL", {
        ids: string[];
        applicationId: string;
    }>;
    fetchParentFiles: (params: import("../../../../typings").ParentFileFetchParams, cb?: ((folder: any) => void) | undefined) => import("typesafe-actions").PayloadAction<"PROJECTS_CONTENT__FETCH_PARENT_FILES", {
        params: import("../../../../typings").ParentFileFetchParams;
        cb: ((folder: any) => void) | undefined;
    }>;
    commitFileToStore: (params: import("../../../../typings").GoodsCommitParams, cb?: (() => void) | undefined) => import("typesafe-actions").PayloadAction<"PROJECTS_CONTENT__COMMIT_FILE_TO_STORE", {
        params: import("../../../../typings").GoodsCommitParams;
        cb: (() => void) | undefined;
    }>;
    offlineFileFromStore: (params: import("../../../../typings").GoodsOfflineParams, cb?: (() => void) | undefined) => import("typesafe-actions").PayloadAction<"PROJECTS_CONTENT__REVOKE_FILE_FROM_STORE", {
        params: import("../../../../typings").GoodsOfflineParams;
        cb: (() => void) | undefined;
    }>;
    updateFileOnlineStatus: (online: boolean) => import("typesafe-actions").PayloadAction<"PROJECTS_CONTENT__UPDATE_ONLINE_STATUS", {
        online: boolean;
    }>;
    openDrawer: (open: boolean, editContent?: Partial<import("../../../../typings").ContentEntity> | undefined) => import("typesafe-actions").PayloadAction<"PROJECTS_CONTENT__UPDATE_EDIT_DRAWER_OPEN_STATUS", {
        open: boolean;
        editContent: Partial<import("../../../../typings").ContentEntity> | undefined;
    }>;
    deleteContent: (params: import("../../../../typings").ProjectContentDeleteParams) => import("typesafe-actions").PayloadAction<"PROJECTS_CONTENT__DELETE_CONTENT", {
        fileId?: string | undefined;
        fileType?: string | undefined;
        status: boolean;
        id?: string | undefined;
        applicationId?: string | undefined;
    }>;
    updateContentValue: (key: string, value: any) => import("typesafe-actions").PayloadAction<"PROJECTS_CONTENT__UPDATE_DRAWER_VALUE", {
        key: string;
        value: any;
    }>;
    updateContentTags: (key: string, value: any) => import("typesafe-actions").PayloadAction<"PROJECTS_CONTENT__UPDATE_UPDATE_DRAWER_TAGS", {
        key: string;
        value: any;
    }>;
    saveContent: (params: import("../../../../typings").ProjectContentFetchParams) => import("typesafe-actions").PayloadAction<"PROJECTS_CONTENT__SAVE_CONTENT", {
        applicationId: string;
        fileType?: string | undefined;
        fileId: string;
    }>;
    fetchLocales: (applicationId: string) => import("typesafe-actions").PayloadAction<"PROJECTS_CONTENT__FETCH_LOCALES", {
        applicationId: string;
    }>;
};
declare type ProjectContentType = ReturnType<typeof mapStateToProps> & typeof mapDispatchToProps;
declare const _default: import("react-redux").ConnectedComponent<React.FC<ProjectContentType>, import("react-redux").Omit<{
    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;
    };
    loading: never;
    saveLoading: never;
    contentList: {
        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;
    }[];
    extendRecord: {
        [x: string]: never[];
    };
    drawerOpen: never;
    editContent: {
        title?: undefined;
        fileId?: undefined;
        fold?: undefined;
        urls?: never[] | undefined;
        isBase?: undefined;
        version?: undefined;
        extendId?: undefined;
        liveVersionNumber?: undefined;
        id?: undefined;
        creator?: {
            id: never;
            account: never;
            nickName?: undefined;
        } | undefined;
        tags?: {
            [x: string]: never;
        }[] | undefined;
        type?: undefined;
    };
    baseContents: {
        id: never;
        name: never;
    }[];
    locales: never[];
} & {
    clearAll: () => import("typesafe-actions").PayloadAction<"PROJECTS_CONTENT__CLEAR_ALL", {}>;
    fetchList: (params: import("../../../../typings").ProjectContentFetchParams) => import("typesafe-actions").PayloadAction<"PROJECTS_CONTENT__FETCH_CONTENT_LIST", {
        applicationId: string;
        fileType?: string | undefined;
        fileId: string;
    }>;
    fetchFileDetail: (params: import("../../../../typings").FilesFetchParams) => import("typesafe-actions").PayloadAction<"PROJECTS_CONTENT__FETCH_FILE_DETAIL", {
        ids: string[];
        applicationId: string;
    }>;
    fetchParentFiles: (params: import("../../../../typings").ParentFileFetchParams, cb?: ((folder: any) => void) | undefined) => import("typesafe-actions").PayloadAction<"PROJECTS_CONTENT__FETCH_PARENT_FILES", {
        params: import("../../../../typings").ParentFileFetchParams;
        cb: ((folder: any) => void) | undefined;
    }>;
    commitFileToStore: (params: import("../../../../typings").GoodsCommitParams, cb?: (() => void) | undefined) => import("typesafe-actions").PayloadAction<"PROJECTS_CONTENT__COMMIT_FILE_TO_STORE", {
        params: import("../../../../typings").GoodsCommitParams;
        cb: (() => void) | undefined;
    }>;
    offlineFileFromStore: (params: import("../../../../typings").GoodsOfflineParams, cb?: (() => void) | undefined) => import("typesafe-actions").PayloadAction<"PROJECTS_CONTENT__REVOKE_FILE_FROM_STORE", {
        params: import("../../../../typings").GoodsOfflineParams;
        cb: (() => void) | undefined;
    }>;
    updateFileOnlineStatus: (online: boolean) => import("typesafe-actions").PayloadAction<"PROJECTS_CONTENT__UPDATE_ONLINE_STATUS", {
        online: boolean;
    }>;
    openDrawer: (open: boolean, editContent?: Partial<import("../../../../typings").ContentEntity> | undefined) => import("typesafe-actions").PayloadAction<"PROJECTS_CONTENT__UPDATE_EDIT_DRAWER_OPEN_STATUS", {
        open: boolean;
        editContent: Partial<import("../../../../typings").ContentEntity> | undefined;
    }>;
    deleteContent: (params: import("../../../../typings").ProjectContentDeleteParams) => import("typesafe-actions").PayloadAction<"PROJECTS_CONTENT__DELETE_CONTENT", {
        fileId?: string | undefined;
        fileType?: string | undefined;
        status: boolean;
        id?: string | undefined;
        applicationId?: string | undefined;
    }>;
    updateContentValue: (key: string, value: any) => import("typesafe-actions").PayloadAction<"PROJECTS_CONTENT__UPDATE_DRAWER_VALUE", {
        key: string;
        value: any;
    }>;
    updateContentTags: (key: string, value: any) => import("typesafe-actions").PayloadAction<"PROJECTS_CONTENT__UPDATE_UPDATE_DRAWER_TAGS", {
        key: string;
        value: any;
    }>;
    saveContent: (params: import("../../../../typings").ProjectContentFetchParams) => import("typesafe-actions").PayloadAction<"PROJECTS_CONTENT__SAVE_CONTENT", {
        applicationId: string;
        fileType?: string | undefined;
        fileId: string;
    }>;
    fetchLocales: (applicationId: string) => import("typesafe-actions").PayloadAction<"PROJECTS_CONTENT__FETCH_LOCALES", {
        applicationId: string;
    }>;
}, "locales" | "loading" | "clearAll" | "fetchList" | "fetchFileDetail" | "fileDetail" | "saveContent" | "deleteContent" | "fetchLocales" | "commitFileToStore" | "offlineFileFromStore" | "updateFileOnlineStatus" | "fetchParentFiles" | "saveLoading" | "editContent" | "extendRecord" | "baseContents" | "drawerOpen" | "openDrawer" | "updateContentValue" | "updateContentTags" | "contentList">>;
export default _default;
