import type { Content } from "../content/content"; import { type Engine } from "../engine/index.js"; import { type PipelineSettings, type Thread } from "../index.js"; import type { Plugin } from "../plugin/index.js"; import { type PromiseWithResolvers } from "../util.js"; import { PromptThread, type PromptThreadSummary, type PromptThreadsSummary } from "./prompt_thread.js"; export declare class GenerateManager { private context; private settings; private engine; private rag; done: boolean; settled: PromiseWithResolvers[]>; started: boolean; threads: Thread[]; threadRunners: PromptThread[]; static from(content: string[], context: Record, settings: PipelineSettings): Promise; constructor(content: string[], context: Record, settings: PipelineSettings, engine: Engine, rag: Plugin); start(): void; summaries(): PromptThreadSummary[]; summary(): PromptThreadsSummary; drainAll(): void; formatError(content: Content): string | undefined; allSettled(): Promise[]>; updateDatabase(): Promise; errors(): { content: Content; errorMessage: string; }[]; } export declare function partitionPrompts(content: string[], context: Record): Content[][]; //# sourceMappingURL=generate_manager.d.ts.map