export declare type validationErrorLevel = 'error' | 'warning';
export declare type validationErrorParam = 'missingProperty' | 'type' | 'term' | 'model' | 'product' | 'range' | 'node' | 'allowedValues' | 'additionalProperty' | 'expected' | 'default' | 'current' | 'percentage' | 'keys' | 'threshold';
export declare type validationErrorKeyword = 'required' | 'type' | 'if' | 'then';
export interface IValidationError {
    index?: number;
    nodeIndex?: number;
    level?: validationErrorLevel;
    dataPath?: string;
    schemaPath?: string;
    keyword?: validationErrorKeyword;
    message: string;
    params?: {
        [key in validationErrorParam]?: any;
    };
    mapError?: boolean;
}
export interface IValidationErrorWithIndex {
    error: IValidationError[];
    index: number;
    changed?: boolean;
}
export declare const parseDataPath: (dataPath?: string) => {
    path: string;
    label: string;
}[];
export declare const nodeLink: ({ "@type": type, "@id": id, name }: {
    "@type": any;
    "@id": any;
    name: any;
}) => string;
export declare const code: (text: string | number | boolean) => string;
export declare const missingNodeErrorMessage: ({ "@type": _t, type, name }: any) => string;
export declare const formatCustomErrorMessage: (message?: string, error?: IValidationError, errorCount?: number) => string;
export declare const formatError: (error?: IValidationError, errorCount?: number) => IValidationError | undefined;
export declare const errorHasError: (error?: IValidationError) => boolean;
export declare const errorHasWarning: (error?: IValidationError) => boolean;
export declare const isMissingPropertyError: ({ params }: IValidationError) => boolean;
export declare const isMissingOneOfError: ({ keyword, schemaPath }: IValidationError) => boolean;
export declare const filterError: (error: IValidationError) => boolean;
export declare const missingNodeErrors: (errors: IValidationError[]) => IValidationError[];
