import { type HTMLAttributes, type Ref } from 'react'; export interface EditableDescriptionProps extends Omit, 'onChange'> { /** The description. One bullet per non-empty line. */ value?: string | null; /** Lines shown before the rest go behind "See more". Default `3`. */ maxLines?: number; /** * The description is being read. With nothing to show yet, it renders * bulleted placeholder lines and no pencil. With a `value` already on screen * (a refresh) it keeps the text and only sets `aria-busy`. */ loading?: boolean; /** Fires from the pencil. Omit for a read-only description. */ onEdit?: () => void; /** Receives the pencil button, so a host can return focus to it. */ editButtonRef?: Ref; /** Shown when there are no lines. Defaults to the kit's translated text. */ emptyLabel?: string; /** Accessible name and tooltip of the pencil. Defaults to the kit's text. */ editLabel?: string; /** Disclosure labels. Default to the kit's translated text. */ seeMoreLabel?: string; showLessLabel?: string; } export declare const EditableDescription: import("react").ForwardRefExoticComponent>; //# sourceMappingURL=editable-description.d.ts.map