import type { ActorRef, ExternalLinkProvider, SessionContextItemCategory, SessionContextItemKind } from '@xopcai/gateway-contract'; export interface ProjectContextItem { id: string; projectId: string; kind: SessionContextItemKind; category: SessionContextItemCategory; title: string; summary?: string; subtitle?: string; target: string; url?: string; provider?: ExternalLinkProvider; pinned: boolean; origin: 'pinned' | 'agent'; conversationId?: string; createdAt: number; updatedAt: number; } export interface SaveProjectContextInput { kind?: SessionContextItemKind; target: string; title?: string; summary?: string; category?: SessionContextItemCategory; pinned?: boolean; conversationId?: string; } export declare function normalizeContextItemInput(input: SaveProjectContextInput): { kind: SessionContextItemKind; target: string; title: string; summary?: string; subtitle?: string; category: SessionContextItemCategory; provider?: ExternalLinkProvider; url?: string; }; export declare class ProjectContextRepository { list(projectId: string, limit?: number): ProjectContextItem[]; upsert(projectId: string, input: SaveProjectContextInput, actor?: ActorRef, now?: number): ProjectContextItem; remove(projectId: string, id: string): boolean; }