import type { ExtendedCache } from "../cache.js"; import type { PackageJson, Patches, PatchReportSink } from "../types/index.js"; export type CollectedEntry = { filePath: string; resourceType: string; url: string; version?: string; kind?: string; type?: string; indexVersion: number; }; export type IndexLoadResult = { ok: true; count: number; } | { ok: false; reason: "unparseable" | "missing-files"; }; export declare const collectFromIndex: (basePath: string) => Promise<{ result: IndexLoadResult; entries: CollectedEntry[]; }>; export declare const collectFromDirectory: (dirPath: string) => Promise; export declare const commitEntries: (cache: ExtendedCache, packageJson: PackageJson, entries: CollectedEntry[], patches?: Patches, report?: PatchReportSink) => number; export declare const processIndex: (basePath: string, packageJson: PackageJson, cache: ExtendedCache) => Promise; //# sourceMappingURL=processor.d.ts.map