import { HTMLAttributes, ReactNode } from 'react'; export interface AddressItemProps extends Omit, 'children' | 'onCopy'> { address: string; label?: ReactNode; /** Slot in a round grey chip before the text, e.g. a chain logo. */ leading?: ReactNode; /** `true` keeps 6 characters at the start and 4 at the end; pass `{ head, tail }` to change that; `false` shows it all. */ shorten?: boolean | { head: number; tail: number; }; /** Copy button after the address. The default icon needs `outlined/content_copy` registered. */ copyable?: boolean; /** Replaces the copy button's icon. */ copyIcon?: ReactNode; /** Replaces the shown text (the copy button and `title` still use `address`), e.g. a formatted or masked address. */ displayAddress?: ReactNode; /** Called with the address after it was copied. */ onCopy?: (address: string) => void; /** Tooltip text before and after copying. Default: the copy tooltip's own texts. */ copyLabel?: string; copiedLabel?: string; /** Inline after the address, e.g. a status tag. */ badge?: ReactNode; /** Right-aligned slot, e.g. an action button. */ trailing?: ReactNode; } /** * A wallet address or hash with an optional label, leading icon, copy button, badge and trailing action. The full * address is in the `title` attribute. It has no padding of its own. Extra props and the ref go to the root element. * * Every part has a `data-part` attribute (`leading`, `label`, `address`, `copy`, `badge`, `trailing`) so an app can * restyle it from `styled(AddressItem)` without a new library version. * * CSS custom properties: `--address-item-gap` (`12px`), `--address-item-address-gap` (`8px`, between address, copy and * badge), `--address-item-leading-size` (`24px`), `--address-item-leading-padding` (`4px`), `--address-item-leading-background` (`#f0f0f0`). */ export declare const AddressItem: import('react').ForwardRefExoticComponent>;