import { r as SummaryStrings } from "./summary-D8UEQXYr.js"; import { CSSProperties, ReactNode } from "react"; //#region src/core/strings-event-raster.d.ts type EventRasterStrings = Pick; //#endregion //#region src/charts/event-raster/geometry.d.ts interface RasterLaneInput { label: string; events: readonly number[]; } /** Default domain: min/max over every event across all lanes. */ declare function rasterDomain(data: readonly RasterLaneInput[]): readonly [number, number]; //#endregion //#region src/charts/event-raster/index.d.ts type EventRasterDatum = RasterLaneInput; interface EventRasterProps { data: readonly EventRasterDatum[]; /** Accents one lane, mutes the rest — the synchronization read. */ emphasis?: string | undefined; /** Left-gutter lane names (default: on when ≤ 8 lanes). */ labels?: boolean | undefined; /** `"bin"` switches an aliasing lane to per-bucket counts (disclosed). */ overflow?: "bin" | "clip" | undefined; domain?: readonly [number, number] | undefined; width?: number | undefined; height?: number | undefined; strings?: EventRasterStrings | undefined; /** Minimum in-chart label size, in viewBox units. Geometry sizes labels from * the mark and floors them at 7; this raises that floor and moves the * reserved gutter with it. A label the box cannot seat at the raised floor * drops rather than shrinking back under it. */ labelSize?: number | undefined; title?: string | undefined; summary?: string | false | undefined; id?: string | undefined; className?: string | undefined; style?: CSSProperties | undefined; children?: ReactNode | undefined; } /** * Shared summary — lane/event totals, the busiest lane, binned disclosure. * * `domain` is the window the chart drew, and the counts are taken over it: an * explicit domain narrower than the data hides those events from the picture, * and a name announcing a total the reader cannot count is the one thing a * summary must never do. Omitted, it fits the data — every finite event, which * is what the default render shows. */ declare function eventRasterSummary(data: readonly EventRasterDatum[], binnedLabels: readonly string[], strings: EventRasterStrings, domain?: readonly [number, number]): string; declare function EventRaster(props: EventRasterProps): ReactNode; //#endregion export { rasterDomain as a, eventRasterSummary as i, EventRasterDatum as n, EventRasterProps as r, EventRaster as t };