import { JSON as HestiaJson, SchemaType } from '@hestia-earth/schema';
import { IValidationError, IValidationErrorWithIndex, validationErrorLevel } from './files-error.model';
interface ISummaryError {
    node: HestiaJson<SchemaType>;
    error: IValidationError;
    term?: any;
}
export interface ISummary {
    level: validationErrorLevel;
    path: string;
    message: string;
    formattedMessage: string;
    count: number;
    showErrors: boolean;
    errors: ISummaryError[];
    terms?: string;
}
/**
 * Build the summary objects.
 *
 * @param nodes The list of nodes.
 * @param errors The list of errors per node.
 * @param summaryData The previously computed summary objects.
 * @returns
 */
export declare const buildSummary: (nodes?: HestiaJson<SchemaType>[], errors?: (IValidationError[] | IValidationErrorWithIndex)[], summaryData?: ISummary[]) => import("rxjs").Observable<ISummary[]>;
export {};
