import { ScrollbarInstance, TableColumnCtx } from 'element-plus'; import { CSSProperties } from 'vue'; import { DefaultRow, XTableEvents, XTableProps } from '../../basic'; export type XTableFlexEvents = XTableEvents; export interface XTableFlexProps extends XTableProps { cellClassName?: ((scope: { column: TableColumnCtx; columnIndex: number; row: D; rowIndex: number; }) => string) | string; cellStyle?: ((scope: { column: TableColumnCtx; columnIndex: number; row: D; rowIndex: number; }) => CSSProperties) | CSSProperties; rowClassName?: ((scope: { row: D; rowIndex: number; }) => string) | string; rowStyle?: ((scope: { row: D; rowIndex: number; }) => CSSProperties) | CSSProperties; } declare const __VLS_export: (__VLS_props: NonNullable>["props"], __VLS_ctx?: __VLS_PrettifyLocal>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: import('vue').PublicProps & __VLS_PrettifyLocal & { onHeaderDragend?: ((newWidth: number, oldWidth: number, column: TableColumnCtx) => any) | undefined; onRowClick?: ((row: D) => any) | undefined; onRowDblclick?: ((row: D) => any) | undefined; onScroll?: ((data: { scrollLeft: number; scrollTop: number; }) => any) | undefined; onSelectionChange?: ((rows: D[]) => any) | undefined; }> & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P; } ? P : {}); expose: (exposed: import('vue').ShallowUnwrapRef<{ clearSelection: () => void | undefined; getSelectionRows: () => D[] | undefined; scrollBarRef: import('vue').ComputedRef; scrollTo: (options: number | ScrollToOptions, yCoord?: number) => void | undefined; setCurrentRow: (row: D) => void | undefined; setScrollLeft: (left: number) => void | undefined; setScrollTop: (top: number) => void | undefined; toggleRowSelection: (row: D, selected?: boolean, ignoreSelectable?: boolean) => void | undefined; }>) => void; attrs: any; slots: {}; emit: ((evt: "headerDragend", newWidth: number, oldWidth: number, column: TableColumnCtx) => void) & ((evt: "rowClick", row: D) => void) & ((evt: "rowDblclick", row: D) => void) & ((evt: "scroll", data: { scrollLeft: number; scrollTop: number; }) => void) & ((evt: "selectionChange", rows: D[]) => void); }>) => import('vue').VNode & { __ctx?: NonNullable>; }; declare const _default: typeof __VLS_export; export default _default; type __VLS_PrettifyLocal = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};