/** * The bibliography panel: the selected project's `references.bib` as an * entry list (citation key, type badge, one-line summary, delete), a * field-level inline editor (common fields form-ized, the rest as raw * name/value rows; the citation key and entry type are editable too), the * autosave-style status pill and conflict banner for entry edits/deletes, and * a collapsible import picker that appends checked library papers through * `importPapersToBib`. The panel replaces the paper view's PDF preview while * open; the file stays the agent's — the panel only reads and rewrites it * under optimistic concurrency. * @module dsh-client-ui-mimir/client/BibPanel */ import type { BibEntry } from 'dsh-mimir/types'; import type { ResearchBibView, ResearchFailureView, ResearchImportCounts, ResearchPapersView } from './controller.ts'; import { type ResearchT } from './view-common.ts'; /** * @param props - the bib slice, the literature list (the import picker), the * selected project, the inject verbs, the close callback, and copy. * @returns the bibliography editor. */ export declare function BibPanel({ bib, papers, projectId, ensureBibliography, reloadBibliography, deleteBibEntry, updateBibEntry, importPapersToBib, ensurePapers, onClose, t, }: { readonly bib: ResearchBibView | null; readonly papers: ResearchPapersView; readonly projectId: string; readonly ensureBibliography: (projectId: string) => void; readonly reloadBibliography: () => void; readonly deleteBibEntry: (key: string) => Promise; readonly updateBibEntry: (originalKey: string, entry: BibEntry) => Promise; readonly importPapersToBib: (projectId: string, arxivIds: string[]) => Promise; readonly ensurePapers: () => void; readonly onClose: () => void; readonly t: ResearchT; }): import("react").JSX.Element; //# sourceMappingURL=BibPanel.d.ts.map