import type { Temporal } from "@js-temporal/polyfill";
/**
 * Return the 1-based calendar-grid week row that `dayInMonth` falls on for
 * `firstOfMonth`'s month, given `firstDay` (locale first day of week,
 * 1 = Monday .. 7 = Sunday).
 *
 * Shared by `getWeekOfMonth` (row for the date itself) and
 * `getWeeksInMonth` (row for the month's last day, i.e. the row count).
 * Week 1 is the row containing the 1st of the month, even when that row
 * is a partial week (date-fns's `getWeekOfMonth` convention).
 */
export declare function monthGridWeekRow(firstOfMonth: Temporal.PlainDate, firstDay: number, dayInMonth: number): number;
