import { c as Value, r as SummaryStrings } from "./summary-D8UEQXYr.js"; import { n as Format } from "./format-Dq02z5ZL.js"; import { t as CellShape } from "./cell-C5AYGf-I.js"; import { CSSProperties, ReactNode } from "react"; //#region src/core/strings-activity.d.ts type ActivityStrings = Pick; //#endregion //#region src/charts/activity-grid/index.d.ts /** Default intensity steps, including the zero track — GitHub-like. */ declare const LEVELS = 5; /** Opacity ramp per discrete level — the shared stepped-color ramp * (shared/cell.ts), at the DEFAULT step count. A chart instance that sets * `steps` calls `stepOpacity(level, steps)` directly; this stays for the * callers (docs previews, the registry) that paint at the default. */ declare const levelOpacity: (level: number) => number; /** Leading empty slots so slot 0 lands on `anchor`'s real weekday (UTC — via * core/calendar; unparseable dates align to 0, matching the no-anchor layout). */ declare function calendarOffset(anchor: string | Date | undefined, weekStart: 0 | 1): number; /** Total, span, and busiest bin. */ declare function activitySummary(data: readonly Value[], fmt: (n: number) => string, strings?: ActivityStrings): string; interface ActivityGridProps { data: readonly Value[]; /** `"grid"` (7 rows, default) or `"strip"` (1 row). */ layout?: "grid" | "strip" | undefined; /** Cell mark: crisp square (default), soft `"round"`, or padded `"dot"`. */ shape?: CellShape | undefined; /** First slot's calendar day — pads the first column so weekday rows align * (grid layout only). ISO `yyyy-mm-dd` or Date, UTC. */ anchor?: string | Date | undefined; /** Locale start-of-week for `anchor` alignment (0 = Sunday, 1 = Monday). */ weekStart?: 0 | 1 | undefined; /** Cell edge length in viewBox units. */ cell?: number | undefined; gap?: number | undefined; /** Intensity steps including the zero track. */ steps?: number | undefined; /** Explicit `[min, max]` for level bucketing; auto-fit when omitted. */ domain?: readonly [number, number] | undefined; color?: string | undefined; format?: Format | undefined; locale?: string | string[] | undefined; strings?: ActivityStrings | undefined; title?: string | undefined; summary?: string | false | undefined; id?: string | undefined; className?: string | undefined; style?: CSSProperties | undefined; children?: ReactNode | undefined; } declare function ActivityGrid(props: ActivityGridProps): ReactNode; //#endregion export { calendarOffset as a, activitySummary as i, ActivityGridProps as n, levelOpacity as o, LEVELS as r, ActivityStrings as s, ActivityGrid as t };