import type { BuildConfig } from "../types/build-type.js"; import type { ILLMProvider } from "../knowledge-book/llm/types.js"; import type { ConsoleUI } from "./ui.js"; import type { PdfIndex } from "./context-pdfs/types.js"; import type { ReuseIndex } from "./attributes/reuse.js"; export type PolishContext = { inputDir: string; outputDir: string; config: BuildConfig; llm: ILLMProvider; ui: ConsoleUI; state: Record; /** Paths to user-supplied context PDFs (--context-pdf). Empty when unset. */ contextPdfPaths: string[]; /** Populated by the context-pdfs-load step; undefined when no PDFs given. */ pdfIndex?: PdfIndex; /** Usecase IDs to skip entirely (--skip-usecase). Empty when unset. */ skipUsecases: Set; /** External `.polish` / attributes-review paths to reuse (--reuse-from). Empty when unset. */ reuseFromPaths: string[]; /** When true (--reuse-verbatim), adopt first match's info verbatim instead of enriching the prompt. */ reuseVerbatim: boolean; /** Populated by the reuse-load step; undefined when no --reuse-from given. */ reuseIndex?: ReuseIndex; }; export type PolishStep = { id: string; title: string; run(ctx: PolishContext): Promise; }; //# sourceMappingURL=types.d.ts.map