export type PaperSummary = { id: string; identifier: string; slug: string; number: number; series_code: string; series_name_en: string; series_name_fr: string; title: string; subtitle: string | null; title_fr: string | null; abstract: string[]; year: number | null; status: string; publication_status: string; notice: string | null; first_released_on: string | null; first_released_precision: "day" | "month" | "year"; last_revised_on: string | null; last_revised_precision: "day" | "month" | "year"; version_label: string | null; version_no: number | null; pages: number | null; has_pdf: boolean; file_id: string | null; sha256: string | null; authors: { slug: string; display_name: string; given_name: string; family_name: string }[]; domain: { slug: string; name_en: string; name_fr: string; accent: string | null } | null; keywords: string[]; ssrn_id: string | null; doi: string | null; view_count: number; download_count: number; featured: boolean; featured_rank: number | null; published_at: string | null; updated_at: string; versions_count: number; language: string; }; export type PaperFull = PaperSummary & { abstract_fr: string[] | null; structured_abstract: unknown; research_question: string | null; research_question_fr: string | null; hero_headline: string | null; hero_subheadline: string | null; contributions: { kind?: string; title: string; description: string }[]; methodology: { title: string; description: string }[]; data_sections: { title: string; description: string }[]; findings: { value: string; label: string }[]; reproducibility: string[]; artifacts: { kind: string; label: string; url: string }[]; external_links: { kind: string; label: string; url: string }[]; jel: string[]; journal_ref: string | null; internal_code: string | null; embedding_model: string | null; topics: { slug: string; name_en: string; name_fr: string; kind: string; assigned_by: string }[]; methods: { slug: string; name_en: string; name_fr: string; assigned_by: string; note: string | null }[]; datasets: { slug: string; name_en: string; name_fr: string; provider: string | null; assigned_by: string; role: string | null }[]; versions: { id: string; version_no: number; label: string; released_on: string | null; released_precision: string; description: string | null; description_fr: string | null; file_id: string | null; pages: number | null; sha256: string | null; bytes: number | null; is_current: boolean; withdrawn: boolean; withdrawn_reason: string | null }[]; related: { slug: string; identifier: string; title: string; year: number | null; kinds: string[]; explanations: string[]; explanations_fr: string[]; inferred: boolean; weight: number }[]; }; export type ListParams = { q?: string; year?: number[]; domain?: string[]; topic?: string[]; author?: string[]; keyword?: string[]; method?: string[]; dataset?: string[]; status?: string[]; pubStatus?: string[]; series?: string[]; lang?: string[]; pdf?: boolean; sort?: "recent" | "revised" | "number" | "title" | "year" | "views" | "downloads"; page?: number; perPage?: number; featured?: boolean; };