import { r as SummaryStrings } from "./summary-D8UEQXYr.js"; import { n as Format } from "./format-Dq02z5ZL.js"; import { CSSProperties, ReactNode } from "react"; //#region src/core/strings-category.d.ts type CategoryStrings = Pick; //#endregion //#region src/charts/mini-bar/index.d.ts interface MiniBarDatum { label: string; value: number | null; } /** Sorted view of the data per the `order` prop (pure; shared with client). */ declare function sortData(data: readonly MiniBarDatum[], order: "data" | "desc" | "asc"): readonly MiniBarDatum[]; declare function miniBarSummary(data: readonly MiniBarDatum[], fmt: (n: number) => string, strings: CategoryStrings): string; interface MiniBarProps { data: readonly MiniBarDatum[]; /** Data-facing reorder — ranking read vs positional read. */ order?: "data" | "desc" | "asc" | undefined; /** Index or label to emphasize ("this row's own category"). */ highlight?: number | string | undefined; orientation?: "horizontal" | "vertical" | undefined; /** Which sign is good — engages pos/neg tokens on signed data. */ positive?: "up" | "down" | undefined; /** Direct max-value readout (vertical only; drops when the box is too small for it). */ label?: "none" | "max" | undefined; domain?: readonly [number, number] | undefined; width?: number | undefined; height?: number | undefined; color?: string | undefined; format?: Format | undefined; locale?: string | string[] | undefined; strings?: CategoryStrings | 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; } declare function MiniBar(props: MiniBarProps): ReactNode; //#endregion export { sortData as a, miniBarSummary as i, MiniBarDatum as n, CategoryStrings as o, MiniBarProps as r, MiniBar as t };