/** The fields of a `YYGGggZ` group, as numbers: day 0–99, hour 0–99, minute 0–99 (shape only). */
export interface MetarTimeFields {
  day: number;
  hour: number;
  minute: number;
}
/** Read the fields of a `YYGGggZ` group, or null when the shape does not match. */
export declare function readMetarTimeFields(value: string): MetarTimeFields | null;
/**
 * The core of `parseMetarTime` and `isValidMetarTime`: the instant a `YYGGggZ` group names, in the
 * month nearest `referenceInstant` that has the day, or `""`. Never throws.
 *
 * @example readMetarTime("151200Z", "2024-03-16T00:00:00Z") // "2024-03-15T12:00:00Z"
 * @example readMetarTime("151260Z", "2024-03-16T00:00:00Z") // ""
 */
export declare function readMetarTime(value: string, referenceInstant: string): string;