/** * Warning lines for superseded references (#108). * * These always go to stderr. stdout stays byte-identical to the unmarked case so that piping * `ref export`, `ref cite`, or `ref list --output ids` into another tool keeps working. * * See spec/features/superseded.md. */ import type { CslItem } from "../../core/csl-json/types.js"; /** * Build the stderr warning line for one reference. * * @returns The line, or null when the reference is not superseded */ export declare function formatSupersededWarning(item: CslItem, index: Map): string | null; /** * Build warning lines for every superseded reference among `items`. * * @param items - The references being shown to the user * @param allItems - The whole library; pointers may target records outside `items` */ export declare function collectSupersededWarnings(items: CslItem[], allItems: CslItem[]): string[]; //# sourceMappingURL=warning.d.ts.map