import { type OAIPMHBaseResponseSharedRecord, type StringWithNoAttribute, type StringWithNoAttributeTuple } from "./shared.js"; import type { ParsedXML, ParsedXMLRecordValue } from "./parsed_xml.js"; type OAIPMHIdentify = { i: number; val: { repositoryName: StringWithNoAttributeTuple; baseURL: StringWithNoAttributeTuple; protocolVersion: StringWithNoAttributeTuple; earliestDatestamp: StringWithNoAttributeTuple; deletedRecord: [{ i: number; val: "no" | "transient" | "persistent"; }]; granularity: [{ i: number; val: "YYYY-MM-DD" | "YYYY-MM-DDThh:mm:ssZ"; }]; adminEmail: StringWithNoAttributeTuple; compression?: StringWithNoAttribute[]; description?: ParsedXMLRecordValue[]; }; }; type OAIPMHIdentifyResponse = OAIPMHBaseResponseSharedRecord & { Identify: [OAIPMHIdentify]; }; declare function isOAIPMHIdentifyResponse(value: ParsedXML): value is OAIPMHIdentifyResponse; export { isOAIPMHIdentifyResponse, type OAIPMHIdentify };