import { BoxExtendedProps, TextExtendedProps } from 'grommet'; import { ColorType, BackgroundType } from 'grommet/utils/index.js'; import React, { PropsWithChildren, FC } from 'react'; import { ListItem, TranslationFunction, Column, Person } from '@vanillabp/bc-types'; declare const ENDED_FONT_COLOR_ODD = "#b4b4b4"; declare type Alignment = 'left' | 'center' | 'right'; declare const textColorAccordingToStatus: (item: ListItem) => ColorType | undefined; interface ListCellProps extends BoxExtendedProps { align?: Alignment; } declare const ListCell: React.FC>; interface TextListCellProps extends TextExtendedProps { item: ListItem; value?: string | String; column: string; tip?: string; showUnreadAsBold?: boolean; align?: Alignment; } declare const TextListCell: React.FC; interface DefaultListCellProps { t: TranslationFunction; item: ListItem; column: Column; showUnreadAsBold?: boolean; currentLanguage: string; currentUser?: Person; nameOfList?: string; selectItem: (select: boolean) => void; isPhone: boolean; isTablet: boolean; } interface DefaultListCellAwareProps extends DefaultListCellProps { defaultCell: FC>; } declare const backgroundColorAccordingToStatus: >(item: T) => BackgroundType | undefined; declare const DefaultListCell: FC>; export { Alignment, DefaultListCell, DefaultListCellAwareProps, DefaultListCellProps, ENDED_FONT_COLOR_ODD, ListCell, TextListCell, backgroundColorAccordingToStatus, textColorAccordingToStatus };