import React from "react"; import { StyleProp, TextStyle, ViewStyle } from "react-native"; type ColumnAlignment = "left" | "center" | "right"; interface Column { label: string; key: keyof T | string; flex?: number; align?: ColumnAlignment; headerTextAlign?: ColumnAlignment; render?: (value: any, row: any, rowIndex: any) => React.ReactNode; headerStyle?: StyleProp; headerTextColors?: string; } interface BorderProps { borderColor?: string; borderWidth?: number; headerborderRight?: boolean; } interface SummaryOptions { content: React.ReactNode; align: "left" | "right"; style?: StyleProp; summaryWrapper?: StyleProp; } interface TableProps extends BorderProps { columns: Column[]; data: T[]; height?: any; defaultAlign?: ColumnAlignment; onRowPress?: (item: T, rowIndex: number) => void; tableStyles?: StyleProp; showsVerticalScrollIndicator?: boolean; HeaderRowStyle?: StyleProp; headerTexts?: StyleProp; cellRowBottomBorder?: boolean; cellRowStyle?: StyleProp; enableHeaderShadow?: boolean; headerShadowStyle?: StyleProp; headerborderBottom?: boolean; summary?: SummaryOptions; cellRowRightBorder?: boolean; showHeader?: boolean; contentContainerStyle?: StyleProp; totalResult?: any; refreshing?: any; loadingMore?: any; handleRefresh?: any; loadMore?: any; initialLoader?: any; hasMore?: any; pagination?: boolean; Refreshing?: boolean; divider?: boolean; dividerWight?: number | string; } export declare function TableInner({ columns, data, height, onRowPress, defaultAlign, tableStyles, borderColor, borderWidth, headerborderRight, showsVerticalScrollIndicator, HeaderRowStyle, headerTexts, cellRowBottomBorder, cellRowRightBorder, cellRowStyle, enableHeaderShadow, headerShadowStyle, summary, headerborderBottom, showHeader, contentContainerStyle, handleRefresh, hasMore, initialLoader, loadMore, loadingMore, refreshing, totalResult, pagination, Refreshing, divider, dividerWight, }: TableProps): React.JSX.Element; export declare const Table: React.MemoExoticComponent; export {};