/*******************************************************************************
 * Copyright (c) 2023-2026 Maxprograms.
 *
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 1.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/org/documents/epl-v10.html
 *
 * Contributors:
 *     Maxprograms - initial API and implementation
 *******************************************************************************/
export interface SchemaFacets {
    enumeration?: string[];
    patterns?: string[][];
    minExclusive?: string;
    maxExclusive?: string;
    minInclusive?: string;
    maxInclusive?: string;
    length?: number;
    minLength?: number;
    maxLength?: number;
    totalDigits?: number;
    fractionDigits?: number;
    whiteSpace?: string;
    isList?: boolean;
}
export declare class SchemaTypeValidator {
    static validateFacets(value: string, facets: SchemaFacets, typeName?: string): boolean;
    static getBuiltInWhiteSpace(typeName: string): 'preserve' | 'replace' | 'collapse';
    static validate(value: string, typeName: string, instanceNs?: Map<string, string>): boolean;
    private static isAnyURI;
    private static isBoolean;
    private static isDecimal;
    private static isFloat;
    private static isInteger;
    private static isValidTimezone;
    private static isLeapYear;
    private static daysInMonth;
    private static isDateTimeStamp;
    private static isDayTimeDuration;
    private static isYearMonthDuration;
    private static isDateTime;
    private static isDate;
    private static isTime;
    private static isDuration;
    private static isGYear;
    private static isGYearMonth;
    private static isGMonth;
    private static isGMonthDay;
    private static isGDay;
    private static isLanguage;
    private static isQName;
    private static isWhitespaceList;
    static getCompareFunction(typeName?: string): (a: string, b: string) => number;
    private static dateTimeToMs;
    private static dateToMs;
    private static timeToMs;
    private static compareDateTimes;
    private static compareDates;
    private static compareTimes;
    private static compareGYears;
    private static compareGYearMonths;
    private static compareGMonthDays;
    private static compareGMonths;
    private static compareGDays;
    private static parseDuration;
    private static durationToSeconds;
    private static compareDurations;
    private static compareNumericOrLexicographic;
    static canonicalize(value: string, typeName: string, nsMap?: Map<string, string>): string;
    private static canonicalDecimal;
    private static canonicalInteger;
    private static canonicalFloat;
    private static canonicalizeTemporal;
}
