// Types for respellManifest.mjs. import type { Respelling } from "../citations/respell.mjs"; export type ManifestRespellChange = { at: string; before: string; after: string }; export function respellManifest>( manifest: T, respellings: readonly Respelling[], ): { manifest: T & { respellings?: Respelling[] }; changes: ManifestRespellChange[] };