import type { ProjectsRepository } from "../../db/repositories/projects.repository"; export interface ConversationLikeForProjects { id: string; projectPath: string | null | undefined; createdAt?: string | null; latestMessageAt?: string | null; } /** * Group cached conversations by their canonical project path, find the * latest conversation per project, then upsert one project row per unique * path. Returns a map from canonical path → projectId so callers can * backfill conversation/session project_id columns afterwards. */ export declare function ensureProjectsForConversations(repo: ProjectsRepository, conversations: ConversationLikeForProjects[]): Map; //# sourceMappingURL=ensureProjectsForConversations.d.ts.map