import { type ComponentPropsWithoutRef } from 'react'; import { type VariantProps } from 'class-variance-authority'; declare const rootVariants: (props?: ({ surface?: "elevated" | "flat" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; /** The six standard probing sites, in buccal-then-lingual display order. */ export declare const PERIODONTAL_SITE_ORDER: readonly ["db", "b", "mb", "dl", "l", "ml"]; export type PeriodontalSiteId = (typeof PERIODONTAL_SITE_ORDER)[number]; /** One probing-site reading. */ export interface PeriodontalSite { /** FDI tooth number, e.g. `'11'`, `'46'`. */ tooth: string; /** Probing site: mesio-/disto- buccal/lingual, mid buccal/lingual. */ site: PeriodontalSiteId; /** Pocket depth in millimetres. */ pocketDepthMm?: number; /** Gingival recession in millimetres. */ recessionMm?: number; /** Bleeding on probing at this site. */ bleeding?: boolean; /** Suppuration (pus) at this site. */ suppuration?: boolean; } /** Aggregate chart summary, consumer-supplied. */ export interface PeriodontalChartSummary { /** Whole-mouth mean probing depth in millimetres. */ meanPocketDepthMm?: number; /** Bleeding-on-probing as a percentage of sites (0–100). */ bleedingOnProbingPercent?: number; } /** Tooth-mobility grade (Miller 0–3). */ export type PeriodontalMobility = 0 | 1 | 2 | 3; /** Imperative handle — structural state only, never PHI. */ export interface PeriodontalChartCardHandle { /** FDI ids of the charted teeth, in display order. */ getToothIds: () => string[]; /** Total probing sites rendered. */ getSiteCount: () => number; /** Count of sites at/above the 6mm severe threshold. */ getDeepPocketCount: () => number; } export interface PeriodontalChartCardProps extends Omit, 'aria-label' | 'children'> { /** Probing-site readings. Sites are grouped per tooth automatically. */ sites: PeriodontalSite[]; /** * ISO-8601 date the chart was captured. Rendered as a localised date in * the header and exposed as the table caption context. Optional. */ dateIso?: string; /** * Dentition the chart covers. Drives only the localised header label — * tooth grouping is derived from the FDI numbers in `sites`. */ dentition?: 'permanent' | 'primary' | 'mixed'; /** Per-tooth Miller mobility grade, keyed by FDI tooth number. */ mobility?: Record; /** Aggregate summary stats rendered above the per-quadrant tables. */ summary?: PeriodontalChartSummary; /** Locale for date + number formatting. Falls back to `i18n.language`. */ locale?: string; /** * `'elevated'` (default) wraps in ``. `'flat'` * drops the Card — use inside another card / sheet. */ surface?: 'flat' | 'elevated'; /** Override the default region aria-label. */ 'aria-label'?: string; /** Agent-readiness consumer id, surfaced as `data-component-id`. */ id?: string; } export declare const PeriodontalChartCard: import("react").ForwardRefExoticComponent>; export type PeriodontalChartCardSurface = NonNullable['surface']>; export {}; //# sourceMappingURL=periodontal-chart-card.d.ts.map