import type { Term } from '@rdfjs/types'; export declare const RDF_NUMERIC_DATATYPES: readonly ["http://www.w3.org/2001/XMLSchema#integer", "http://www.w3.org/2001/XMLSchema#decimal", "http://www.w3.org/2001/XMLSchema#double", "http://www.w3.org/2001/XMLSchema#float", "http://www.w3.org/2001/XMLSchema#long", "http://www.w3.org/2001/XMLSchema#int", "http://www.w3.org/2001/XMLSchema#short", "http://www.w3.org/2001/XMLSchema#byte", "http://www.w3.org/2001/XMLSchema#nonNegativeInteger", "http://www.w3.org/2001/XMLSchema#nonPositiveInteger", "http://www.w3.org/2001/XMLSchema#positiveInteger", "http://www.w3.org/2001/XMLSchema#negativeInteger", "http://www.w3.org/2001/XMLSchema#unsignedLong", "http://www.w3.org/2001/XMLSchema#unsignedInt", "http://www.w3.org/2001/XMLSchema#unsignedShort", "http://www.w3.org/2001/XMLSchema#unsignedByte"]; export declare function isRdfNumericDatatype(datatype: string): boolean; export declare function isFiniteNumericLexical(value: string | number): boolean; export declare function rdfNumericValue(value: string | number): number; export declare function isRdfNumericTerm(term: Term): boolean; /** * Completes the numeric ORDER BY relation where SPARQL value comparison is * unordered: Xpod and QLever place NaN after every other numeric value. * All non-NaN comparisons stay owned by the query evaluator. */ export declare function compareRdfNumericNaNOrder(left: Term | undefined, right: Term | undefined): -1 | 0 | 1 | undefined;