import type { SpaceConfig } from '../config/types.js'; import { type SyncIndexResult } from './sync.js'; export type IndexSyncMode = 'full' | 'incremental'; export interface RunContentIndexSyncOptions { preview?: boolean; /** When true, log a warning if a delivery API key was auto-created. */ warnOnKeyCreated?: boolean; /** * `full` — replace all rows (default for `cms-edit index sync`). * `incremental` — upsert only items updated since last `syncedAt` (auto-refresh when stale). */ mode?: IndexSyncMode; /** Progress on stderr; also enabled with `LOG_CMS_INDEX=1`. */ verbose?: boolean; /** When false, skip publishing the SQLite blob to the shared cache (internal). */ publishCache?: boolean; } /** * Fetches CDA/CPA payload and rebuilds or merges into the local SQLite index. */ export declare function runContentIndexSync(space: SpaceConfig, opts?: RunContentIndexSyncOptions): Promise; //# sourceMappingURL=run-sync.d.ts.map