import icons from '@repay/cactus-icons'; import React from 'react'; import { MarginProps } from 'styled-system'; import { FlexItemProps } from '../helpers/styled'; import { TextProps } from '../Text/Text'; interface ListProps extends MarginProps, FlexItemProps, React.HTMLAttributes { dividers?: boolean; } interface ListItemProps extends React.HTMLAttributes { icon?: keyof typeof icons; } interface ItemHeaderProps extends Omit { children?: React.ReactNode; icon?: keyof typeof icons; as?: React.ElementType; } export declare const List: React.ForwardRefExoticComponent>; declare const ListItem: React.ForwardRefExoticComponent>; declare const ItemHeader: React.FC; declare type ListType = typeof List & { Item: typeof ListItem; ItemHeader: typeof ItemHeader; }; declare const TypedList: ListType; export { ListItem, ItemHeader }; export default TypedList;