/** * The in-page half of rendering provenance: one self-contained collector * passed to page.evaluate, per the harvest.ts pattern. Everything pure * (types, ranking, the sidecar, the deterministic join) lives in * provenance-sidecar.ts and is re-exported here so callers keep one * import point. */ export { attachProvenance, buildSidecar, loadSidecarBeside, parseSidecar, pngBoxOf, PROVENANCE_VERSION, selectorsOf, type ProvenanceElement, type ProvenanceRef, type ProvenanceSidecar, type RawProvenance, } from "./provenance-sidecar.js"; import type { RawProvenance } from "./provenance-sidecar.js"; /** Runs in the browser. Self-contained: no closure over module scope. */ export declare function collectProvenanceInPage(args: { rootSelector: string | null; maxElements: number; resolve: string[]; }): RawProvenance;