/// /// import { GeoPackage } from "@ngageoint/geopackage"; import type * as RDF from "@rdfjs/types"; import { Readable } from "node:stream"; import type { CLIContext, PartialBy, RDFContext, RDFOptions } from "./interfaces.js"; import { type QuadsGen } from "./models/models-registry.js"; /** Helper class to parse */ export declare class GeoPackageParser extends Readable implements RDF.Stream { options: CLIContext & RDFContext & RDFOptions; filepathOrBuffer: string | Buffer | Uint8Array; iterQuad: Generator; gpkg: GeoPackage; shouldRead: boolean; generator: QuadsGen; /** * Read a GeoPackage and output a stream of RDF.Quads * @param filepathOrBuffer Path to GeoPackage file * @param options Options */ constructor(filepathOrBuffer: string | Buffer | Uint8Array, options: CLIContext & Partial & PartialBy); _construct(callback: (error?: Error) => void): void; _read(size: number): void; _destroy(error: Error, callback: (error?: Error) => void): void; }