/** * Add provenance metadata to the DOM, using the terminology of the [Memento protocol](https://mementoweb.org/guide/rfc/). * * Note however that the Memento spec only discusses HTTP headers; we take the freedom to use * `` and `` tags to ‘embed’ these headers inside the document itself. * * @param doc - The Document to add tags to. * @param options.datetime - The moment the page was snapshotted. * @param options.originalUrl - The page's original location. * @returns Nothing; the Document is mutated. * * @category Util */ export declare function setMementoTags(doc: Document, { originalUrl, datetime }: { originalUrl?: string; datetime?: Date; }): void; /** * Produces an RFC 1123 datetime string, hard-coded to use GMT as its timezone, as Memento requires. */ declare function datetimeToString(datetime: Date): string; export { datetimeToString };