export interface Conference { slug: string; name: string; short: string; year: number; kind: 'NLP' | 'ML'; start_date: string | null; end_date: string | null; location: string | null; url: string | null; papers_source: string | null; paper_count: number; } export interface Paper { id: number; conf: string; conf_short: string; track: string | null; award: string | null; ext_id: string; title: string; abstract: string | null; authors: string | null; keywords: string | null; tldr: string | null; url: string | null; pdf_url: string | null; primary_area: string | null; is_llm: number; } export interface TaxNode { id: string; parent: string | null; label: string; depth: number; count: number; // distinct papers under this node (respecting filters) children: TaxNode[]; } export interface PaperQuery { q: string; conf: string; node: string; track: string; llm: boolean; sort: 'conf' | 'title' | 'rank'; page: number; } export const PAGE_SIZE = 30;