import type { ReactElement } from "react"; import React from "react"; import type { DataListActionProps, DataListHeader, DataListItemType, DataListItemTypeFromHeader, DataListObject } from "./DataList.types"; import type { Breakpoints } from "./DataList.const"; /** * Return the child component that matches the `type` provided */ export declare function getCompoundComponent(children: ReactElement | ReactElement[], type: ReactElement["type"]): ReactElement | undefined; /** * Return all instances child component that matches the `type` provided */ export declare function getCompoundComponents(children: ReactElement | ReactElement[], type: ReactElement["type"]): ReactElement[]; /** * Generate the default element the DataList would use on the data provided. */ export declare function generateListItemElement(item: T): DataListItemType; /** * Generate the header elements with the default styling */ export declare function generateHeaderElements(headers: DataListHeader): DataListItemTypeFromHeader> | undefined; export declare function sortBreakpoints(sizeProp: Breakpoints[]): ("xs" | "sm" | "md" | "lg" | "xl")[]; export declare function getExposedActions(childrenArray: ReactElement>[], childCount?: number): ReactElement, string | React.JSXElementConstructor>[];