import type { ConsoleUI } from "../ui.js"; import type { ILLMProvider } from "../../knowledge-book/llm/types.js"; import type { LeafDraft } from "../attributes/types.js"; import type { PdfIndex } from "../context-pdfs/types.js"; export type ParaphraseQueueController = { push(task: { path: string; action: string; drafts: LeafDraft[]; }): void; setProgress(p: { unitsDone: number; unitsTotal: number; }): void; setDraftingDone(): void; waitForFinalize(): Promise; shutdown(): Promise; }; export declare function createParaphraseController(llm: ILLMProvider, ui: ConsoleUI, pdfIndex?: PdfIndex): ParaphraseQueueController; //# sourceMappingURL=paraphrase-server.d.ts.map