import type { FC, HTMLAttributes, ReactNode, Ref } from 'react';
import { type TestableProps } from '../../utils/testId';
import { type AttributeOrientation } from './AttributeOrientationContext';
export interface AttributeProps extends HTMLAttributes, TestableProps {
ref?: Ref;
/** Show skeleton placeholders instead of children */
loading?: boolean;
/**
* When true, `AttributeValue` renders the em-dash placeholder instead of its
* children, and any `AttributeEmptyDescription` inside the tree renders
* (it returns `null` otherwise). Ignored while `loading` is true (skeleton
* wins).
*/
isEmpty?: boolean;
/**
* Layout direction of the label and value.
* - `vertical` (default): label above value
* - `horizontal`: label on the left, value on the right
*/
orientation?: AttributeOrientation;
children?: ReactNode;
}
export declare const Attribute: FC;