import React from 'react'; import { TableProps } from '../interfaces'; export interface ItemsLoaderProps { item: null | T; trackBy?: TableProps.TrackBy; children: React.ReactNode; } export interface ItemsLoaderContentProps { item: null | T; loadingStatus: TableProps.LoadingStatus; renderLoaderPending?: (detail: TableProps.RenderLoaderDetail) => React.ReactNode; renderLoaderLoading?: (detail: TableProps.RenderLoaderDetail) => React.ReactNode; renderLoaderError?: (detail: TableProps.RenderLoaderDetail) => React.ReactNode; renderLoaderEmpty?: (detail: TableProps.RenderLoaderEmptyDetail) => React.ReactNode; } export declare function ItemsLoader({ item, trackBy, children }: ItemsLoaderProps): JSX.Element; export declare function getLoaderContent({ item, loadingStatus, renderLoaderPending, renderLoaderLoading, renderLoaderError, renderLoaderEmpty }: ItemsLoaderContentProps): React.ReactNode;