export type TableOptions = { dataTableId: string; loading?: boolean; showTopbarAction?: boolean; showTopbarEdition?: boolean; showFilterTags?: boolean; filterTags?: Filter[]; showFooter?: boolean; showColumnHeaders?: boolean; itemsLabel?: string; pageLabel?: string; resetFiltersLabel?: string; removeFilterLabel?: string; rowsPerPageLabel?: string; itemsSelection?: boolean; showItemsCount?: boolean; useOnePageSorting?: boolean; optionsButton?: boolean; e2eAttributeSuffix?: string; sortedParams?: SortParams; heightToBeRemoved?: number; showSelectionCount?: boolean; selectionParams?: SelectionParams; disableSelection?: boolean; searchPlaceholder?: string; showAllPages?: boolean; itemsPerPageOptions?: Array; }; export type TableBodyDatas = { headDatas: HeadData[]; bodyDatas: BodyData[]; }; export type HeadData = { id: string; label: string; sortable?: boolean; sortColumn?: string; cellsFormat: CellsFormat; textAlign?: string; }; export type BodyData = { id: string; selected?: boolean; expanded?: boolean; disableSelection?: boolean; subRow?: SubRow; cells: Cells; }; export type CellsFormat = 'Text' | 'Image' | 'Badge' | 'Link' | 'LinkWithoutRedirect' | 'CheckBox' | 'IconButton' | 'CustomText' | 'ProgressBar' | 'Button'; export type Cells = { [key: string]: CellValue; }; export type CellValue = string | Image | Badge | Link | ProgressBar | Button | IconButton | CustomText | SubRow | string[]; export type Image = { src: string; style?: string; }; export type Badge = { content: string; theme?: 'info' | 'success' | 'warning' | 'danger' | 'neutral'; }; export type Link = { text: string; href: string; }; export type Button = { label?: string; theme?: string; iconname?: string; iconmode?: string; size?: string; bordered?: boolean; disabled?: boolean; }; export type ProgressBar = { value: string; displaypercentage: boolean; size: string; branded?: boolean; labelOnLeft?: boolean; }; export type IconButton = { svg: string; function?: string; }; export type CustomText = CustomTextItem[]; export type CustomTextItem = { text: string; style?: string; }; export type SubRow = { headDatas: HeadData[]; bodyDatas: BodyData[]; expanded?: boolean; }; export type TableFooterDatas = { currentPage?: number; totalItems?: number; itemsPerPage?: number; }; export type SortParams = { columnId: string; direction: SortDirection; }; export type SortDirection = 'na' | 'asc' | 'desc'; export type Filter = { label: string; id: string; }; export interface AllItemsCheckbox extends HTMLElement { indeterminate: boolean; } export type SelectionParams = { totalItems: number; allSelected: boolean; excludedIdsFromSelection: string[]; idsSelected: string[]; selectedLabel?: string; rowsOnPageLabel?: string; rowsOfTableLabel?: string; selectAllLabel?: string; rowsSelectedLabel?: string; clearSelectionLabel?: string; }; //# sourceMappingURL=datatable.types.d.ts.map