import { IFolder } from '@ecocms/common';
import { Model } from '~/core/model';
import { IFolderRecord } from './types';
declare class FoldersModel extends Model<IFolderRecord> {
    constructor();
    getFolders: () => Promise<IFolderRecord[]>;
    addFolder: (folder: IFolder) => Promise<IFolderRecord>;
    saveFolder: (folder: IFolder) => Promise<any>;
    deleteFolder: (folder: IFolder) => Promise<IFolderRecord>;
    getFolderByPath: (path: string) => Promise<IFolderRecord>;
}
export declare const folders: FoldersModel;
export {};
