/** * Browser-only Turtle parser using N3.js synchronous API. * Does not use Node streams — safe for bundling as an ES module. */ import * as N3 from "n3"; export interface ParseError { message: string; line?: number; column?: number; } export interface ParsedTurtle { quads: N3.Quad[]; prefixes: Record; baseIRI: string; errors: ParseError[]; } /** * Parses a Turtle string into RDF/JS quads. Fails closed on errors: * if any syntax error is encountered the returned errors array is non-empty. */ export declare function parseTurtle(text: string, baseIRI: string): ParsedTurtle; //# sourceMappingURL=parser.d.ts.map