import { type SourceWorkerDeps, type SourceWorkerSource } from '@origintrail-official/dkg-agent'; import { type AsyncLiftJobClient, type SharedMemoryWriteClient } from './source-worker-daemon-client.js'; import { type SourceWorkerConfig } from './source-worker-config.js'; export interface SourceWorkerHandlerContext { config: SourceWorkerConfig; sharedMemory: SharedMemoryWriteClient; asyncLift: AsyncLiftJobClient; } export interface SourceWorkerHandlerModule { /** * Build the source-specific worker hooks. getFingerprint must be stable for * unchanged source content and must change when source content that affects * emitted triples/assets changes. */ createSourceWorkerDeps(context: SourceWorkerHandlerContext): Promise, 'getFingerprint' | 'processSource'>> | Pick, 'getFingerprint' | 'processSource'>; } export declare function runConfiguredSourceWorker(configPath: string, options?: { once?: boolean; }): Promise; //# sourceMappingURL=source-worker-runner.d.ts.map