import type { TClaimTypeClassificationEntry, TInferenceRelation } from "../../base/stages/index.js"; import type { TScribeExtractOutput } from "./schemas.js"; export declare const SOURCE_ATTACHMENT_FAILURE_CODES: { readonly invalidSource: "SOURCE_ATTACHMENT_INVALID_SOURCE"; readonly invalidTarget: "SOURCE_ATTACHMENT_INVALID_TARGET"; readonly mixed: "SOURCE_ATTACHMENT_MIXED"; readonly unattached: "SOURCE_ATTACHMENT_UNATTACHED"; }; type TClaimType = TClaimTypeClassificationEntry["type"]; type TAddFailure = (failure: { code: string; message: string; severity: "warning" | "error"; context?: Record; }) => void; /** * The relations that attach each citation and axiomatic claim to what it * supports, to be published alongside `structure`'s own. See the file * comment for the order in which a target is chosen. */ export declare function buildSourceRelations(args: { extract: TScribeExtractOutput | undefined; structureRelations: readonly TInferenceRelation[]; typeByMiniId: Map; inputText: string; addFailure: TAddFailure; }): TInferenceRelation[]; export {}; //# sourceMappingURL=source-attachment.d.ts.map