import Type from "typebox"; import type { TPipeline } from "../../../../lib/pipelines/index.js"; import type { TParsedArgumentResponse } from "../../../../lib/parsing/index.js"; import type { TIngestionExtension, TIngestionInput, TIngestionLlmOptions } from "../../base/types.js"; /** * Input schema shared by every ingestion pipeline: a single non-empty * raw argument text. Exported so sibling pipelines (e.g. the fast * `scribe` pipeline) advertise the identical input contract. */ export declare const INGESTION_INPUT_SCHEMA: Type.TObject<{ text: Type.TString; }>; /** * Options for `createScholarPipeline`. * * `llm.defaults` applies to every LLM stage that doesn't have a * per-stage entry under `llm.overrides`; per-stage entries are keyed * by stage id (`STAGE_IDS.segmentation`, etc.). The effective knobs * compose stage-override > pipeline-default > internal stage default. * * @example * ```ts * createScholarPipeline(basicsExtension, { * llm: { * defaults: { maxOutputTokens: 16_384 }, * overrides: { * [STAGE_IDS.segmentation]: { maxOutputTokens: 32_768 }, * }, * }, * }) * ``` */ export type TCreateScholarPipelineOptions = { llm?: TIngestionLlmOptions; }; /** * Build the scholar (thorough) ingestion pipeline for the supplied * extension. Returns a `TPipeline` whose 12-stage DAG segments, * extracts, canonicalizes, classifies, relates, and compiles the raw * text, and whose `finalize` assembles the `TParsedArgumentResponse` * shape `ArgumentParser.build()` consumes. * * The factory is pure: it constructs stage values + a pipeline * descriptor and returns immediately. Stage execution happens inside * `executePipeline`. */ export declare function createScholarPipeline(extension: TIngestionExtension, options?: TCreateScholarPipelineOptions): TPipeline; //# sourceMappingURL=scholar.d.ts.map