/** * `astramem-local rebuild [--repo REPO] [--project PROJECT] [--limit N] [--dry-run] [--json]` * * Re-embed/reindex flow: enumerates existing memories and enqueues one * `reembed` job per memory via the same JobRepo used by ingest — the * daemon's worker (500ms poll, src/pipeline/worker.ts) recomputes each * embedding with the configured provider and upserts the vector row * (src/pipeline/handlers/reembed.ts). Requires a running daemon. */ export interface RebuildResult { candidateCount: number; queuedIds: string[]; dryRun: boolean; } export declare function rebuildCommand(args: string[]): Promise;