/** * Shared brocom (BRO common) schema fields. * * These map the `brocom:RegistrationObject` base elements that every BRO * registration type (CPT, BHR-GT, BHR-G, ...) carries with identical paths and * meaning. Spread this into each domain schema so the common surface is defined * once and stays consistent - mirrors how the XSDs model these via * complexContent extension of `brocom:RegistrationObject`. * * `registrationHistory` is intentionally NOT in the shared spread map: it is a * brocom structure too, but its container element sits under the domain namespace * (dscpt/dsbhrgt/dsbhrg). It is provided separately as the {@link REGISTRATION_HISTORY} * producer below, which each schema binds at its own path. */ import type { Location } from "../types/index.js"; import type { Produced } from "../core/producer.js"; import type { CustomProducer } from "../core/producer.js"; /** * The shared `brocom:RegistrationObject` base fields, as producers. Spread this * into a domain's object producer so the common surface is defined once. */ export declare const COMMON_REGISTRATION_PRODUCERS: { broId: import("../core/producer.js").ScalarProducer; qualityRegime: import("../core/producer.js").ScalarProducer; deliveryAccountableParty: import("../core/producer.js").ScalarProducer; objectIdAccountableParty: import("../core/producer.js").ScalarProducer; deliveryResponsibleParty: import("../core/producer.js").ScalarProducer; }; /** * The BRO registration history, as an object producer. * * The container sits under the domain namespace but its children are all * `brocom:*` and identical across domains, so it is matched with a * namespace-agnostic `local-name()`. Absent container → `null` (optional). */ export declare const REGISTRATION_HISTORY: import("../core/producer.js").ObjectProducer<{ objectRegistrationTime: string | null; registrationStatus: string | null; registrationCompletionTime: string | null; latestCorrectionTime: string | null; latestAdditionTime: string | null; underReviewTime: string | null; deregistrationTime: string | null; reregistrationTime: string | null; corrected: boolean | null; underReview: boolean | null; deregistered: boolean | null; reregistered: boolean | null; }, "optional">; /** The BRO registration history, shared by every registration type. Inferred from {@link REGISTRATION_HISTORY}. @internal */ export type RegistrationHistory = Produced; /** * A GML `Point` location → {@link Location}, as a custom producer. * * Reads the EPSG code from the `srsName` attribute (on the location element or a * nested `gml:Point`) and the `gml:pos` coordinates. Returns `null` when the CRS * or coordinates are absent/unparseable. `at` is the relative XPath to the * location element (differs per domain). */ export declare function gmlLocation(at: string): CustomProducer; //# sourceMappingURL=common-fields.d.ts.map