import React, { CSSProperties, HTMLAttributes, ReactNode, TableHTMLAttributes, ThHTMLAttributes, TdHTMLAttributes } from 'react';
import { ComponentSize } from '../ConfigProvider';
export declare type RawTableProps = {
/** 内容 */
children?: ReactNode;
/** 尺寸 */
size?: ComponentSize;
/**
* 边框配置
* + `full` - 全边框
* + `row` - 行与行之间才有边框
* + `none` - 无边框
*/
border?: 'row' | 'full' | 'none';
/** 是否有斑马纹;若有斑马纹则 `border` 总是会被视作 `none` */
zebra?: boolean;
/** 自定义样式名 */
className?: string;
/** 自定义样式 */
style?: CSSProperties;
/** 根元素的 html 属性 */
rootHtmlProps?: TableHTMLAttributes;
};
export declare type RawTheadProps = {
/** 内容 */
children?: ReactNode;
/** 自定义样式名 */
className?: string;
/** 自定义样式 */
style?: CSSProperties;
/** 根元素的 html 属性 */
rootHtmlProps?: HTMLAttributes;
};
export declare type RawTbodyProps = {
/** 内容 */
children?: ReactNode;
/** 自定义样式名 */
className?: string;
/** 自定义样式 */
style?: CSSProperties;
/** 根元素的 html 属性 */
rootHtmlProps?: HTMLAttributes;
};
export declare type RawTfootProps = {
/** 内容 */
children?: ReactNode;
/** 自定义样式名 */
className?: string;
/** 自定义样式 */
style?: CSSProperties;
/** 根元素的 html 属性 */
rootHtmlProps?: HTMLAttributes;
};
export declare type RawTrProps = {
/** 内容 */
children?: ReactNode;
/** 自定义样式名 */
className?: string;
/** 自定义样式 */
style?: CSSProperties;
/** 根元素的 html 属性 */
rootHtmlProps?: HTMLAttributes;
};
export declare type RawThProps = {
/** 同 HTML attribute `colspan` */
colSpan?: number;
/** 同 HTML attribute `rowspan` */
rowSpan?: number;
/** 内容 */
children?: ReactNode;
/** 自定义样式名 */
className?: string;
/** 自定义样式 */
style?: CSSProperties;
/** 根元素的 html 属性 */
rootHtmlProps?: ThHTMLAttributes;
};
export declare type RawTdProps = {
/** 同 HTML attribute `colspan` */
colSpan?: number;
/** 同 HTML attribute `rowspan` */
rowSpan?: number;
/** 内容 */
children?: ReactNode;
/** 自定义样式名 */
className?: string;
/** 自定义样式 */
style?: CSSProperties;
/** 根元素的 html 属性 */
rootHtmlProps?: TdHTMLAttributes;
};
export declare function RawTable({ children, size, border, zebra, className, style, rootHtmlProps }: RawTableProps): React.JSX.Element;
export declare function RawThead({ rootHtmlProps, ...extraProps }: RawTheadProps): React.JSX.Element;
export declare function RawTbody({ rootHtmlProps, ...extraProps }: RawTbodyProps): React.JSX.Element;
export declare function RawTfoot({ rootHtmlProps, ...extraProps }: RawTfootProps): React.JSX.Element;
export declare function RawTr({ rootHtmlProps, ...extraProps }: RawTrProps): React.JSX.Element;
export declare function RawTh({ rootHtmlProps, ...extraProps }: RawThProps): React.JSX.Element;
export declare function RawTd({ rootHtmlProps, ...extraProps }: RawTdProps): React.JSX.Element;