import { type HTMLAttributes } from 'react';
export interface TreatmentReceiptLine {
/** Stable key for the line. */
id: string;
/** Treatment name, as the price list prints it. */
name: string;
/** Price-list code, shown muted after the name. */
code?: string;
/** Dental elements as the platform prints them ("36, 37"). */
elementsLabel?: string;
/** Plan phases this line belongs to. */
phases?: string[];
/** The treatment has been carried out. */
done?: boolean;
/** The treatment has been invoiced. */
billed?: boolean;
/** Minor units. Absent means prices are withheld from this viewer. */
priceCents?: number;
}
export interface TreatmentReceiptProps extends HTMLAttributes {
lines: TreatmentReceiptLine[];
/** BCP 47 locale for the amounts. Defaults to Money's own default. */
locale?: string;
/** ISO 4217 code. Defaults to Money's own default. */
currency?: string;
/**
* The treatments are being read. With no `lines` yet it shows placeholder
* receipt lines and no total. With lines already on screen (a refresh) it
* keeps them and only sets `aria-busy`.
*/
loading?: boolean;
/** Placeholder lines shown while `loading`. Default `2`. */
loadingLines?: number;
/** Label of the total row. Defaults to the kit's "Total for this appointment". */
totalLabel?: string;
}
export declare const TreatmentReceipt: import("react").ForwardRefExoticComponent>;
//# sourceMappingURL=treatment-receipt.d.ts.map