import { ActionType } from 'typesafe-actions';
import * as ACTIONS from '@/actions/projects/content';
import { ContentEntity, File, ProjectEntity } from '@/types/index';
export declare type ProjectContentActionType = ActionType<typeof ACTIONS>;
export declare type BaseContent = {
    id: string;
    name: string;
};
declare const reducer: (state: {
    loading: boolean;
    saveLoading: boolean;
    editorDrawerOpen: boolean;
    contents: ContentEntity[];
    editContent: Partial<ContentEntity>;
    baseContents: BaseContent[];
    extendRecord: Record<string, string[]>;
    fileDetail: File;
    locales: string[];
    folder: ProjectEntity;
} | undefined, action: ProjectContentActionType) => {
    loading: boolean;
    saveLoading: boolean;
    editorDrawerOpen: boolean;
    contents: ContentEntity[];
    editContent: Partial<ContentEntity>;
    baseContents: BaseContent[];
    extendRecord: Record<string, string[]>;
    fileDetail: File;
    locales: string[];
    folder: ProjectEntity;
};
export default reducer;
