import React from 'react';
import { RootState } from 'typesafe-actions';
declare const mapStateToProps: (store: RootState) => {
    pageInfo: {
        page: never;
        size: never;
        total: never;
    };
    loading: never;
    saveLoading: never;
    fileList: {
        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;
    }[];
    drawerOpen: never;
    editFile: {
        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: {
    clearAll: () => import("typesafe-actions").PayloadAction<"PROJECTS_FILE__CLEAR_ALL", {}>;
    fetchFileList: (params: import("../../../../typings").ProjectFileFetchParams) => import("typesafe-actions").PayloadAction<"PROJECTS_FILE__FETCH_FILE_LIST", {
        params: import("../../../../typings").ProjectFileFetchParams;
    }>;
    fetchParentFiles: (params: import("../../../../typings").ParentFileFetchParams, cb?: ((folder: any) => void) | undefined) => import("typesafe-actions").PayloadAction<"PROJECTS_DETAILS__FETCH_PARENT_FILES", {
        params: import("../../../../typings").ParentFileFetchParams;
        cb: ((folder: any) => void) | undefined;
    }>;
    openDrawer: (open?: any, editFile?: import("../../../../typings").File | undefined) => import("typesafe-actions").PayloadAction<"PROJECTS_FILE__OPEN_EDIT_DRAWER", {
        open: any;
        editFile: import("../../../../typings").File | undefined;
    }>;
    updateEditFile: (name: string, value: any) => import("typesafe-actions").PayloadAction<"PROJECTS_FILE__UPDATE_DRAWER_VALUE", {
        name: string;
        value: any;
    }>;
    saveFile: (params: import("../../../../typings").ProjectFileSaveParams, cb?: (() => void) | undefined) => import("typesafe-actions").PayloadAction<"PROJECTS_FILE__SAVE_FILE", {
        params: import("../../../../typings").ProjectFileSaveParams;
        cb: (() => void) | undefined;
    }>;
    deleteFile: (params: import("../../../../typings").ProjectFileDeleteParams) => import("typesafe-actions").PayloadAction<"PROJECTS_DETAILS__DELETE_FILE", {
        params: import("../../../../typings").ProjectFileDeleteParams;
    }>;
};
declare type FileListType = ReturnType<typeof mapStateToProps> & typeof mapDispatchToProps;
declare const _default: import("react-redux").ConnectedComponent<React.FC<FileListType>, import("react-redux").Omit<{
    pageInfo: {
        page: never;
        size: never;
        total: never;
    };
    loading: never;
    saveLoading: never;
    fileList: {
        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;
    }[];
    drawerOpen: never;
    editFile: {
        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;
    };
} & {
    clearAll: () => import("typesafe-actions").PayloadAction<"PROJECTS_FILE__CLEAR_ALL", {}>;
    fetchFileList: (params: import("../../../../typings").ProjectFileFetchParams) => import("typesafe-actions").PayloadAction<"PROJECTS_FILE__FETCH_FILE_LIST", {
        params: import("../../../../typings").ProjectFileFetchParams;
    }>;
    fetchParentFiles: (params: import("../../../../typings").ParentFileFetchParams, cb?: ((folder: any) => void) | undefined) => import("typesafe-actions").PayloadAction<"PROJECTS_DETAILS__FETCH_PARENT_FILES", {
        params: import("../../../../typings").ParentFileFetchParams;
        cb: ((folder: any) => void) | undefined;
    }>;
    openDrawer: (open?: any, editFile?: import("../../../../typings").File | undefined) => import("typesafe-actions").PayloadAction<"PROJECTS_FILE__OPEN_EDIT_DRAWER", {
        open: any;
        editFile: import("../../../../typings").File | undefined;
    }>;
    updateEditFile: (name: string, value: any) => import("typesafe-actions").PayloadAction<"PROJECTS_FILE__UPDATE_DRAWER_VALUE", {
        name: string;
        value: any;
    }>;
    saveFile: (params: import("../../../../typings").ProjectFileSaveParams, cb?: (() => void) | undefined) => import("typesafe-actions").PayloadAction<"PROJECTS_FILE__SAVE_FILE", {
        params: import("../../../../typings").ProjectFileSaveParams;
        cb: (() => void) | undefined;
    }>;
    deleteFile: (params: import("../../../../typings").ProjectFileDeleteParams) => import("typesafe-actions").PayloadAction<"PROJECTS_DETAILS__DELETE_FILE", {
        params: import("../../../../typings").ProjectFileDeleteParams;
    }>;
}, "loading" | "clearAll" | "pageInfo" | "fetchParentFiles" | "fetchFileList" | "saveFile" | "deleteFile" | "saveLoading" | "drawerOpen" | "fileList" | "editFile" | "openDrawer" | "updateEditFile">>;
export default _default;
