/** * care-plan-status-cell — patient-table cell renderer * ---------------------------------------------------------------------------- * A thin domain preset over the data-table `StatusCellRenderer` / kit `Badge`: * it bakes the patient care-plan lifecycle `variantMap` so consumers don't have * to re-declare it on every column, and localises the label via the `ui` * namespace (`ui.patientTable.carePlanStatus.*`). * * Reads `PatientRow.carePlanStatus` (preferring `data.carePlanStatus`, falling * back to AG Grid's resolved `value`), maps it to a Badge variant: * * accepted → success estimate → info none → neutral (muted) * * GROUND-TRUTH NOTES (vs. the task brief): * • `StatusCellRenderer` is not exported from a barrel and is a tiny wrapper * around `Badge`; this preset composes `Badge` directly (same primitive, * no extra indirection) rather than wrapping the wrapper. * • The brand says the "muted" variant is `none`; `Badge`'s neutral variant is * already the muted grey chip, so `none → 'neutral'`. * • No event handling: a status badge is presentational, so there are no * provided callbacks to wire. */ import type { CustomCellRendererProps } from 'ag-grid-react'; import type { PatientCarePlanStatus, PatientRow } from '../types'; /** * `cellRendererParams` for `CarePlanStatusCell`. * * The lifecycle status, label source and variant map are all baked in, so the * only knob is the Badge size — defaults to the compact `sm` chip that fits the * standard AG Grid row height. */ export interface CarePlanStatusCellParams { /** Badge size. Defaults to `'sm'` to fit the standard row height. */ size?: 'sm' | 'md' | 'lg'; } /** * Patient care-plan lifecycle badge cell. * * Pass as `cellRenderer` on the `carePlanStatus` column; the patient * `variantMap` and localisation are handled internally. */ export declare function CarePlanStatusCell(props: CustomCellRendererProps & CarePlanStatusCellParams): import("react/jsx-runtime").JSX.Element | null; //# sourceMappingURL=care-plan-status-cell.d.ts.map