import type { SqliteAdapter as Database } from '../db/sqlite-adapter.js'; /** * The subset of a project-registry row economy needs. The registry renamed its * filesystem-path field `path` -> `primary_path` when projects became * workspaces, so both spellings are accepted and `resolveProjectPath` below * picks whichever is present. Keeping both means the injectable * `listActiveProjects` seam (and its tests) stays valid across that rename. */ interface OpenProject { id: string; name: string; description: string | null; path?: string | null; primary_path?: string | null; tags: string[]; created_at: string; } type ListOpenProjects = (options: { status: 'active'; limit: number; }) => OpenProject[]; export declare function syncOpenProjectsRegistry(db: Database, listActiveProjects?: ListOpenProjects): Promise<{ imported: number; skipped: number; }>; export {}; //# sourceMappingURL=open-projects.d.ts.map