import { Processor, type Reader } from "@rdfc/js-runner"; import { Extract } from "./extractor.js"; import { IndexBulkOperations, Repository } from "./repositories/Repository.js"; export type IngestSDSArgs = { data: Reader; metadata: Reader; database: DBConfig; }; export type DBConfig = { url: string; metadata: string; data: string; index: string; }; export declare class IngestSDS extends Processor { repository: Repository; recordCount: number; init(this: IngestSDSArgs & this): Promise; transform(this: IngestSDSArgs & this): Promise; produce(this: IngestSDSArgs & this): Promise; processData(iterable: AsyncIterable): Promise; processMetadata(iterable: AsyncIterable): Promise; handleRecords(extract: Extract, operations: IndexBulkOperations): Promise; handleBuckets(extract: Extract, operations: IndexBulkOperations): Promise; handleRelations(extract: Extract, operations: IndexBulkOperations): Promise; }