import { TransformerSubTyped } from '@traqula/core'; import type { SparqlContext, SparqlGeneratorContext } from './sparql12HelperTypes.js'; import type { Sparql12Nodes } from './sparql12Types.js'; /** * Decode UCHAR codepoint escapes (\\uXXXX / \\UXXXXXXXX) within a string according to * [SPARQL 1.2 §19.2](https://www.w3.org/TR/sparql12-query/#sec-escapes). * * Unlike the SPARQL 1.1 variant, this function rejects surrogate code points (U+D800–U+DFFF) * even when they would form a valid surrogate pair. * @deprecated will be removed in next MAJOR in favor of the less usecase dependent {@link decodeUchar}. */ export declare function sparql12CodepointEscape(input: string): string; export declare function decodeUchar(hex: string): string; export declare function completeParseContext(context: Partial): SparqlContext; export declare function completeGeneratorContext(context: Partial): SparqlGeneratorContext & { offset?: number; }; export declare function copyParseContext>(context: T): T; export declare class AstTransformer extends TransformerSubTyped { }