import { r as SummaryStrings } from "./summary-D8UEQXYr.js"; import { CSSProperties, ReactNode } from "react"; //#region src/core/strings-token-confidence.d.ts type TokenConfidenceStrings = Pick; //#endregion //#region src/charts/token-confidence/geometry.d.ts type Tier = "confident" | "unsure" | "guessing"; interface TokenDatum { token: string; confidence: number; } interface TieredToken { token: string; tier: Tier; confidence: number; } //#endregion //#region src/charts/token-confidence/index.d.ts type TokenConfidenceDatum = TokenDatum; interface TokenConfidenceProps { data: readonly TokenConfidenceDatum[]; /** The lo/hi thresholds — the ONLY tuning. A gradient prop will never exist. */ tiers?: readonly [number, number] | undefined; /** `"all"` also marks confident tokens (hairline) for audit UIs. */ show?: "flagged" | "all" | undefined; /** Appends the 1-line inline key ("― unsure · ⋯ guessing"). */ legend?: boolean | undefined; strings?: TokenConfidenceStrings | undefined; title?: string | undefined; summary?: string | false | undefined; id?: string | undefined; className?: string | undefined; style?: CSSProperties | undefined; children?: ReactNode | undefined; } /** Shared summary — the three tier counts (the absence of marks IS the finding). */ declare function tokenConfidenceSummary(tokens: readonly TieredToken[], strings: TokenConfidenceStrings): string; declare function TokenConfidence(props: TokenConfidenceProps): ReactNode; //#endregion export { tokenConfidenceSummary as i, TokenConfidenceDatum as n, TokenConfidenceProps as r, TokenConfidence as t };