import { IPage } from '@ecocms/common';
import { Model } from '~/core/model';
import { IPageRecord } from './types';
export declare class PagesModel extends Model<IPageRecord> {
    constructor();
    getPages: () => Promise<IPageRecord[]>;
    addPage: (page: IPage) => Promise<IPageRecord>;
    savePage: (page: IPage) => Promise<any>;
    deletePage: (page: IPage) => Promise<IPageRecord>;
    getPageByPath: (path: string) => Promise<IPageRecord>;
}
export declare const pagesModel: PagesModel;
