interface Bookmark { id: string; threadId: string | null; messageId: string; text: string; role: 'user' | 'assistant' | 'system'; timestamp: number; note?: string; } declare function useBookmarks(): { bookmarks: Bookmark[]; add: (b: Omit) => Promise; remove: (id: string) => Promise; }; export { type Bookmark, useBookmarks };