import { IconProps } from '../../base/icon/icon'; export type OptionContentType = 'default' | 'checkbox' | 'radio'; export type OptionContentLayout = 'horizontal' | 'vertical'; export interface OptionContentSlotProps { children?: React.ReactNode; /** Additional class name. */ className?: string; /** @internal id wired up by `OptionContent` to link the indicator's `aria-labelledby`. */ id?: string; } export declare const OptionContentLabel: import('react').ForwardRefExoticComponent>; export declare const OptionContentMeta: import('react').ForwardRefExoticComponent>; export interface OptionContentProps { /** * Content of the value row — typically `OptionContent.Label` and * optionally `OptionContent.Meta`, but any node is allowed. */ children?: React.ReactNode; /** * Selection-indicator type: * - `default` — no indicator * - `checkbox` — checkbox indicator (multi-select) * - `radio` — radio indicator (single-select listbox) * @default default */ type?: OptionContentType; /** * Arrange the label and meta side-by-side (`horizontal`) or stacked * (`vertical`, e.g. a title with a description below). * @default horizontal */ layout?: OptionContentLayout; /** * Whether the indicator renders as selected (checked). * @default false */ selected?: boolean; /** * Whether the checkbox indicator renders as indeterminate. Ignored for other types. * @default false */ indeterminate?: boolean; /** * Whether the row renders as disabled (dims the indicator and text). * @default false */ disabled?: boolean; /** * Leading icon, rendered before the content. Accepts an icon name or full `IconProps`. */ icon?: string | IconProps; /** * How the selection indicator is exposed to assistive tech: * - `presentation` (default) — the indicator is `aria-hidden`; the interactive * parent owns selection (menu pattern: `aria-checked` on the `DropdownItem`). * - `control` — the indicator itself carries `role="checkbox"`/`"radio"`, * `aria-checked` and is named via `aria-labelledby` from `OptionContent.Label` * (listbox pattern, e.g. inside a `Select` option). Requires a `Label` child. * @default presentation */ indicatorSemantics?: 'presentation' | 'control'; /** * Additional class name. */ className?: string; } export declare const OptionContent: import('react').ForwardRefExoticComponent> & { Label: import('react').ForwardRefExoticComponent>; Meta: import('react').ForwardRefExoticComponent>; }; export default OptionContent;