import { DateField, StringField } from '@internetarchive/iaux-item-metadata'; import { MediaTypeField } from '@internetarchive/iaux-item-metadata'; import { SearchMetadata } from '../search-metadata'; /** * A model that describes a set of captures for a given URL, as presented in the Web Archives tab * on a patron's profile page. * * The fields in here are cast to their respective field types. See `metadata-fields/field-type`. * * Add additional fields as needed. * * @export * @class WebArchiveHit */ export declare class WebArchiveHit { /** * This is the raw hit response; useful for inspecting the raw data * returned from the server. */ readonly rawMetadata: Readonly>; readonly fields: Readonly; constructor(json: Record); get identifier(): string | undefined; get mediatype(): MediaTypeField; /** The URL that was captured */ get title(): StringField | undefined; /** * Optional. */ get capture_dates(): DateField | undefined; /** * Optional. */ get __href__(): StringField | undefined; }