import type { Chart, CurlingHeatOptions, CurlingHeatTotals, CurlingStone, KeyItem } from "./charts.types.ts"; /** * A heat chart of the stones of many ends on a house: where they came to rest, counted into cells (`heatmap`, `hexbin`), a density (`contour`), the zones of the house (`zones`) or * drawn as translucent discs in their team's colours (`discs`). Only stones in play are drawn, as `curlingScore` judges them. `team` keeps one team's stones, and `only` the free * guards or the stones in the house, so that "where do the guards of the team with the hammer end up" is one call. Places are feet from the button, as for `curlingStones`; give * the stones of every end together. The totals say how many stones were drawn, the free guards and the stones in the house for each team, and the share in each zone. * @example * ```ts * import { curlingHeat } from "@johnmorrisdotca/kyogijo-stadiums/charts"; * const stones = [ * { x: 0.3, y: 0.2, team: "home" }, * { x: -1.1, y: 0.9, team: "away" }, * { x: 0.1, y: -14, team: "away" }, * { x: 2.4, y: -17, team: "home" }, * { x: 0, y: -10, team: "home" }, * ]; * const chart = curlingHeat(stones, { only: "guards", view: "discs" }); * console.log(chart.totals.drawn, chart.totals.guards, chart.totals.house); * // 3 { home: 2, away: 1 } { home: 1, away: 1 } * ``` */ export declare function curlingHeat(stones: readonly CurlingStone[], options?: CurlingHeatOptions): Chart & { key: KeyItem[]; };