import React from 'react'; import type { ProCardProps } from 'infrad-pro-card'; import type { GetComponentProps } from './index'; import type { ListGridType } from 'infrad/lib/list'; import type { ExpandableConfig } from 'infrad/lib/table/interface'; export declare type RenderExpandIconProps = { prefixCls: string; expanded: boolean; expandIcon: React.ReactNode | ((props: { onExpand: (expanded: boolean) => void; expanded: boolean; record: RecordType; }) => React.ReactNode); onExpand: (expanded: boolean) => void; record: RecordType; }; export declare function renderExpandIcon({ prefixCls, expandIcon, onExpand, expanded, record, }: RenderExpandIconProps): JSX.Element; export declare type ItemProps = { title?: React.ReactNode; subTitle?: React.ReactNode; checkbox?: React.ReactNode; className?: string; prefixCls?: string; item?: any; subheader?: { title: React.ReactNode; actions: React.ReactNode[]; }; index: number; selected?: boolean; avatar?: React.ReactNode; content?: React.ReactNode; actions?: React.ReactNode[]; extra?: React.ReactNode; description?: React.ReactNode; loading?: boolean; style?: React.CSSProperties; grid?: ListGridType; expand?: boolean; rowSupportExpand?: boolean; cardActionProps?: 'actions' | 'extra'; onExpand?: (expand: boolean) => void; expandable?: ExpandableConfig; showActions?: 'hover' | 'always'; showExtra?: 'hover' | 'always'; type?: 'new' | 'top' | 'inline' | 'subheader'; isEditable: boolean; recordKey: string | number | undefined; cardProps?: ProCardProps; record: RecordType; onRow?: GetComponentProps; onItem?: GetComponentProps; itemHeaderRender?: ((item: RecordType, index: number, defaultDom: JSX.Element | null) => React.ReactNode) | false; itemTitleRender?: ((item: RecordType, index: number, defaultDom: JSX.Element | null) => React.ReactNode) | false; }; declare function ProListItem(props: ItemProps): JSX.Element; export default ProListItem;