import { IPage } from '@ecocms/common';
import { Service } from '~/core/service';
import { IPageRecord } from '../models';
export declare class PagesService extends Service {
    onStart: () => Promise<void>;
    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 pagesService: PagesService;
