import { SitemapChangeFreq, SitemapCollector } from '../types.js'; /** * Spec for a DB-backed collector over any entity that has `url_rewrite` rows. `table`, * `entityType`, `where` and `updatedAtColumn` are TRUSTED CONSTANTS (never user input) — * `entityType` is bound as a parameter; the rest are interpolated. */ export interface EntityCollectorSpec { name: string; table: string; entityType: string; /** SQL boolean expression over the entity alias `e` (e.g. `e.status = 1`). Default: all rows. */ where?: string; /** Timestamp column on the entity for ``. Default `updated_at`; some tables use `created_at`. */ updatedAtColumn?: string; changefreq?: SitemapChangeFreq; priority?: number; } /** * Build a collector that enumerates an entity's live friendly URLs by joining it to * `url_rewrite` (design §3.3). `collect()` reads `request_path` + `updated_at`; `getFingerprint()` * runs the SAME join/filter as a `count`/`max(updated_at)` so the change signal tracks exactly the * collected set. */ export declare function createEntityCollector(spec: EntityCollectorSpec): SitemapCollector;