/** * VS Code Marketplace registry adapter for source-sync. * * Owns: paginated VS Code Marketplace query sync, demand-query cursor * management, and marketplace-specific page-size configuration. The actual * marketplace fetch and item shape are delegated to reference-harvesters.ts. * * Harvest tiers (run in order per sync call): * Tier 1 — Popularity sweep: top-N by install count. Re-runs on every * scheduled index refresh. Uses a dedicated cursor so progress * does not interfere with other tiers. * Tier 2 — Category sweep: all extensions in categories derived from the * workspace demand profile. Runs after the popularity sweep. * Tier 3 — Alphabetical pagination: full long-tail coverage using the * existing demand-query cursor loop. */ import type { SourceDefinition } from "../../../../types.js"; import type { SourceSyncContext, SourceSyncSourceState } from "../types.js"; /** * Syncs the VS Code Marketplace source in three tiers: * 1. Popularity sweep — top-N by install count * 2. Category sweep — all extensions in demand-mapped categories * 3. Alphabetical loop — full long-tail pagination (existing behaviour) */ export declare function syncVsCodeMarketplaceSource(source: SourceDefinition, context: SourceSyncContext): Promise;