import { r as SummaryStrings } from "./summary-D8UEQXYr.js"; import { t as CellShape } from "./cell-C5AYGf-I.js"; import { CSSProperties, ReactNode } from "react"; //#region src/core/strings-calendar.d.ts type CalendarStrings = Pick; //#endregion //#region src/charts/calendar-strip/index.d.ts interface CalendarStripDatum { /** ISO `yyyy-mm-dd` (any time suffix dropped) or Date (its UTC day). */ date: string | Date; value: number; } /** Sums duplicate dates into an ISO-keyed map (dev-warns on duplicates). */ declare function calendarEntries(data: readonly CalendarStripDatum[]): Map; /** Active days over the window. */ declare function calendarStripSummary(activeDays: number, totalDays: number, weeks: number, strings: CalendarStrings): string; interface CalendarStripProps { data: readonly CalendarStripDatum[]; /** Window length in whole weeks ending at `end`. Dev-warns above 8 (that is * ActivityGrid's job) and is hard-capped at `CALENDAR_MAX_WEEKS` (53). */ weeks?: number | undefined; /** Last day of the window. Defaults to today (UTC) — pin it in anything * that must be deterministic (tests, docs, SSR snapshots). */ end?: string | Date | undefined; /** Locale start-of-week (0 = Sunday, 1 = Monday). */ weekStart?: 0 | 1 | undefined; /** Intensity steps including the zero track. */ steps?: number | undefined; /** Cell mark: crisp square (default), soft `"round"`, or padded `"dot"`. */ shape?: CellShape | undefined; /** Explicit `[min, max]` for step bucketing; auto-fit when omitted. */ domain?: readonly [number, number] | undefined; /** Cell edge length in viewBox units (default 7 — grid-sibling parity with * ActivityGrid/GardenGrid). */ cell?: number | undefined; gap?: number | undefined; color?: string | undefined; strings?: CalendarStrings | undefined; title?: string | undefined; summary?: string | false | undefined; id?: string | undefined; className?: string | undefined; style?: CSSProperties | undefined; children?: ReactNode | undefined; } declare const CALENDAR_CELL = 7; declare const CALENDAR_GAP = 1; declare function CalendarStrip(props: CalendarStripProps): ReactNode; //#endregion export { CalendarStripProps as a, CalendarStrings as c, CalendarStripDatum as i, CALENDAR_GAP as n, calendarEntries as o, CalendarStrip as r, calendarStripSummary as s, CALENDAR_CELL as t };