import { ActionType } from 'typesafe-actions';
import * as ACTIONS from '@/store/actions/applications/detail/packages/detail';
import { CommonDrawerEntity, ComponentEditVersionEntity, ComponentInfoEntity, ComponentRemote, ComponentVersionEntity, File, PaginationInfo } from '@/types/index';
export declare type ApplicationPackagesDetailActionType = ActionType<typeof ACTIONS>;
declare const initialState: {
    fileDetail: File;
    cloudSyncDrawer: {
        open: boolean;
        loading: boolean;
        componentRemote: ComponentRemote;
        lastVersion: ComponentEditVersionEntity;
    };
    compInfoLoading: boolean;
    componentInfo: ComponentInfoEntity;
    versionList: {
        applicationId: string;
        fileId: string;
        loading: boolean;
        versions: ComponentVersionEntity[];
        pageInfo: PaginationInfo;
    };
    versionDrawer: CommonDrawerEntity;
};
export declare type InitialDataType = typeof initialState;
declare const reducer: (state: {
    fileDetail: File;
    cloudSyncDrawer: {
        open: boolean;
        loading: boolean;
        componentRemote: ComponentRemote;
        lastVersion: ComponentEditVersionEntity;
    };
    compInfoLoading: boolean;
    componentInfo: ComponentInfoEntity;
    versionList: {
        applicationId: string;
        fileId: string;
        loading: boolean;
        versions: ComponentVersionEntity[];
        pageInfo: PaginationInfo;
    };
    versionDrawer: CommonDrawerEntity;
} | undefined, action: ApplicationPackagesDetailActionType) => {
    fileDetail: File;
    cloudSyncDrawer: {
        open: boolean;
        loading: boolean;
        componentRemote: ComponentRemote;
        lastVersion: ComponentEditVersionEntity;
    };
    compInfoLoading: boolean;
    componentInfo: ComponentInfoEntity;
    versionList: {
        applicationId: string;
        fileId: string;
        loading: boolean;
        versions: ComponentVersionEntity[];
        pageInfo: PaginationInfo;
    };
    versionDrawer: CommonDrawerEntity;
};
export default reducer;
