import { IPageContent, IPageCellStyle } from './Page/Content';
export interface IUtils {
    parseApiError: (err: any, def?: string) => string;
    clonePageContent(content: IPageContent, removeStyles?: boolean): IPageContent;
    comparePageContent(currentContent: any, newContent: any, ignore_styles?: boolean): IUtilsDiff | false;
    mergePageContent(_original: any, _deltas?: any, style?: any): any;
    getDefaultCellStyle(): IPageCellStyle;
}
export interface IUtilsDiff {
    content: IPageContent;
    content_diff: IPageContent;
    colDiff: number;
    rowDiff: number;
    sizeDiff: boolean;
}
declare class Utils implements IUtils {
    constructor();
    static readonly DEFAULT_CELL_STYLE: IPageCellStyle;
    parseApiError(err: any, def?: string): string;
    clonePageContent(content: IPageContent, removeStyles?: boolean): IPageContent;
    comparePageContent(currentContent: any, newContent: any, ignore_styles?: boolean): IUtilsDiff | false;
    mergePageContent(_original: any, _deltas?: any, style?: IPageCellStyle): any;
    getDefaultCellStyle(): IPageCellStyle;
}
export default Utils;
