export declare enum NoteType { Normal = "normal", Voice = "voice", Link = "link", File = "file" } export type WebsiteType = "youtube" | "x" | "github" | "web"; export interface NoteLinkMetadata { url: string; website: WebsiteType; icon?: string; author?: string; source?: string; sourceId?: string; sourceChatId?: string; sourceUsername?: string; } export interface NoteMetadata { source?: string; sourceId?: string; sourceChatId?: string; sourceUsername?: string; } /** * Data returned by link processors (YouTube, Twitter, Web) * This is NOT a database entity - it's a DTO for link processing results */ export interface LinkProcessorResult { content: string; title?: string; summary?: string; keywords?: string[]; metadata?: NoteLinkMetadata | NoteMetadata; type: NoteType; }