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: "No single conclusion could be selected."; }; /** * Non-fatal note codes for anchor resolution. Neither stops assembly: * an unresolved quote yields no anchor, and an ambiguous one yields the * nearest-hint winner. Both are reported because silence here is * indistinguishable from success — a model that starts paraphrasing * would otherwise take anchor coverage to zero with no signal. */ export declare const SOURCE_ANCHOR_NOTE_CODES: { readonly unresolved: "SOURCE_ANCHOR_UNRESOLVED"; readonly ambiguous: "SOURCE_ANCHOR_AMBIGUOUS"; readonly inputUnavailable: "SOURCE_ANCHOR_INPUT_UNAVAILABLE"; }; 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 v2 pipeline's final response from the * `TStageContext`'s accumulated upstream outputs. */ export declare function finalizeResponseV2(input: TFinalizeResponseV2Input): TParsedArgumentResponse; //# sourceMappingURL=finalize-response-v2.d.ts.map