import type { ObservationDraft } from "../../stores/observation-store.js"; import type { FetchSinceContext, FetchSinceResult, WorldSourceAdapter } from "../../../../domain/sentinel/world/world-source-adapter.js"; import type { WorldEvent } from "../../../../domain/sentinel/world/world-event.js"; import { policyFetch } from "../policy-fetch.js"; import { WorldCache } from "../../stores/world-store.js"; export declare const NPM_ADAPTER_KIND = "npm"; export interface NpmAdapterOptions { readonly packageName: string; readonly cache: WorldCache; readonly fetchImpl?: typeof policyFetch; readonly registry?: string; } export declare class NpmSourceAdapter implements WorldSourceAdapter { private readonly options; readonly kind: "npm"; readonly id: string; readonly subject: string; constructor(options: NpmAdapterOptions); private registryUrl; fetchSince(context: FetchSinceContext): Promise; normalize(event: WorldEvent): ObservationDraft; } //# sourceMappingURL=npm-source.d.ts.map