import { n as Format } from "../../format-Dq02z5ZL.js"; import { n as MiniBarDatum } from "../../index-CgMum0ZL.js"; import { t as CompositionStrings } from "../../strings-composition-d0S4LmjA.js"; import { CSSProperties, ReactNode } from "react"; //#region src/charts/likert-strip/index.d.ts type LikertDatum = MiniBarDatum; /** |net| < 5 pts reads "Balanced." */ declare function likertSummary(shares: { negative: number; positive: number; neutral: number; }, hasNeutralLevel: boolean, pctFmt: (n: number) => string, strings: CompositionStrings): string; interface LikertStripProps { /** Ordered most-negative → most-positive (2–7 levels; odd middle = neutral). */ data: readonly LikertDatum[]; /** Neutral placement: `"split"` (half each side) or `"omit"` (labeled only). */ neutral?: "split" | "omit" | undefined; /** `"ends"` = agree/disagree %; `"net"` = one signed score; `"none"`. */ label?: "ends" | "net" | "none" | undefined; width?: number | undefined; height?: number | undefined; format?: Format | undefined; locale?: string | string[] | undefined; strings?: CompositionStrings | 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 LikertStrip(props: LikertStripProps): ReactNode; //#endregion export { LikertDatum, LikertStrip, LikertStripProps, likertSummary };