import React from 'react'; import type { IColumn, IRow } from 'fabos-amis-core/lib/store/table'; import { ITableStore, RendererEvent, RendererProps, TestIdBuilder } from 'fabos-amis-core'; import { Action } from '../Action'; interface TableRowProps extends Pick { store: ITableStore; onCheck: (item: IRow, value: boolean, shift?: boolean) => Promise; onRowClick: (item: IRow, index: number) => Promise | void>; onRowDbClick: (item: IRow, index: number) => Promise | void>; onRowMouseEnter: (item: IRow, index: number) => Promise | void>; onRowMouseLeave: (item: IRow, index: number) => Promise | void>; classPrefix: string; renderCell: (region: string, column: IColumn, item: IRow, props: any) => React.ReactNode; columns: Array; item: IRow; parent?: IRow; itemClassName?: string; itemIndex: number; regionPrefix?: string; checkOnItemClick?: boolean; ignoreFootableContent?: boolean; testIdBuilder?: (key: string) => TestIdBuilder; rowPath: string; [propName: string]: any; } export declare class TableRow extends React.PureComponent; isNested?: boolean; }> { handleMouseEnter(e: React.MouseEvent): void; handleMouseLeave(e: React.MouseEvent): void; handleItemClick(e: React.MouseEvent): Promise; handleDbClick(e: React.MouseEvent): void; handleAction(e: React.UIEvent, action: Action, ctx: any): void; handleQuickChange(values: object, saveImmediately?: boolean, savePristine?: boolean, options?: { resetOnFailed?: boolean; reload?: string; }): void; handleChange(value: any, name: string, submit?: boolean, changePristine?: boolean): void; render(): React.JSX.Element | null; } declare const _default: (props: TableRowProps) => React.JSX.Element; export default _default;