import type { TParsedArgumentResponse } from "../../../../lib/parsing/index.js"; import type { TStageContext } from "../../../../lib/pipelines/index.js"; import { type TClaimMentionExtractionOutput, type TSegmentationOutput } from "../stages/schemas.js"; import type { TIngestionExtension } from "../types.js"; export declare const FINALIZE_V2_FAILURE_TEXTS: { readonly noClaims: "No claims could be extracted from the input."; readonly noConclusion: "Couldn't work out how these claims connect to a conclusion."; }; export type TFinalizeResponseV2Input = { ctx: TStageContext; extension: TIngestionExtension; /** * Segmentation + mention outputs, supplied by the caller rather than * read from `ctx`, because not every pipeline has these stages — * `ctx.get` on a stage outside `finalize.dependsOn` is a * configuration error, and declaring a dep on a stage the pipeline * does not contain is another. Passing them keeps the declaration * and the read in the same file, per pipeline. Omit both and claims * carry no source anchors; premises are unaffected either way. */ segmentation?: TSegmentationOutput; mentions?: TClaimMentionExtractionOutput; }; /** * Assembles the ingestion pipeline's final response from the * `TStageContext`'s accumulated upstream outputs. */ export declare function finalizeResponseV2(input: TFinalizeResponseV2Input): TParsedArgumentResponse; //# sourceMappingURL=assembler.d.ts.map