import { RollCopy } from "../model/RollCopy.js"; import { Version } from "../model/Version.js"; import { Edition } from "../model/Edition.js"; /** * The kinds of reservation the edition can have about a copy, in the * order `reservationsAbout` checks for them. * @category Analysis */ export declare const reservationTypes: readonly ['source-not-stated', 'source-undocumented', 'software-not-named', 'instrument-not-named', 'features-interpreted', 'no-physical-evidence', 'measurement-undocumented', 'not-calibrated', 'system-unknown', 'keeper-unknown']; /** * A kind of reservation about a copy. * @category Analysis */ export type ReservationType = typeof reservationTypes[number]; /** * Something an edition cannot vouch for in one of its copies or * versions. * * A reservation is worked out from what the copy or version states * about itself and is never written into the edition: it says that * knowledge of it is incomplete, so filling in what is missing makes it * go away. Nothing here describes the state of the paper, which is a * condition of the copy. * @category Analysis */ export interface Reservation { type: T; /** What the reservation means for a reader, in one sentence. */ note: string; } /** * What the edition cannot vouch for in a copy, in the order the * checks are listed: where its features came from first, then what * the measurement leaves open, then who holds it. * @category Analysis */ export declare const reservationsAbout: (copy: RollCopy) => Reservation[]; /** * The kinds of reservation the edition can have about a version, in the * order `reservationsAboutVersion` checks for them. * @category Analysis */ export declare const versionReservationTypes: readonly ['text-not-stated', 'witnessed-by-statement-only', 'no-direct-witness']; /** * A kind of reservation about a version. * @category Analysis */ export type VersionReservationType = typeof versionReservationTypes[number]; /** * What the edition cannot vouch for in a version, in the order the checks are listed. * @category Analysis */ export declare const reservationsAboutVersion: (edition: Edition, version: Readonly) => Reservation[];