import { TableV2Instance } from 'element-plus'; import { DefineComponent, ComputedRef, ShallowRef, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue'; import { ButtonsCallBackParams, ActionBarProps } from 'yc-pro-components/es/components/table'; import { PlusVirtualTableProps, VirtualTableColumn } from './type'; import { PageInfo, RecordType, PlusColumn } from 'yc-pro-components/es/types'; import { PlusPaginationProps } from 'yc-pro-components/es/components/pagination'; declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps, { columns: () => never[]; tableData: () => never[]; data: () => never[]; pagination: boolean; actionBar: boolean; hasIndexColumn: boolean; isSelection: boolean; loadingStatus: boolean; rowKey: string; defaultSize: string; rowHeight: number; headerHeight: number; fixed: boolean; defaultColumnWidth: number; columnsEmptyText: string; scrollbarAlwaysOn: boolean; titleBar: boolean; selectionColumnWidth: number; indexColumnWidth: number; stripe: boolean; border: boolean; }>, { getSelectionRows: () => RecordType[]; clearSelection: () => void; toggleRowSelection: (row: RecordType, selected?: boolean | undefined) => void; toggleAllSelection: (selected?: boolean | undefined) => void; scrollToRow: (rowIndex: number) => void; data: ComputedRef; tableRef: ShallowRef< TableV2Instance | null>; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { paginationChange: (pageInfo: PageInfo) => void; clickAction: (data: ButtonsCallBackParams) => void; "selection-change": (selection: RecordType[]) => void; select: (selection: RecordType[], row: RecordType) => void; "select-all": (selection: RecordType[]) => void; refresh: () => void; "row-click": (rowData: RecordType, rowIndex: number) => void; "sort-change": (data: { column: VirtualTableColumn; prop: string; order: string | null; }) => void; }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps, { columns: () => never[]; tableData: () => never[]; data: () => never[]; pagination: boolean; actionBar: boolean; hasIndexColumn: boolean; isSelection: boolean; loadingStatus: boolean; rowKey: string; defaultSize: string; rowHeight: number; headerHeight: number; fixed: boolean; defaultColumnWidth: number; columnsEmptyText: string; scrollbarAlwaysOn: boolean; titleBar: boolean; selectionColumnWidth: number; indexColumnWidth: number; stripe: boolean; border: boolean; }>>> & { onSelect?: ((selection: RecordType[], row: RecordType) => any) | undefined; onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined; "onSelect-all"?: ((selection: RecordType[]) => any) | undefined; "onSelection-change"?: ((selection: RecordType[]) => any) | undefined; "onSort-change"?: ((data: { column: VirtualTableColumn; prop: string; order: string | null; }) => any) | undefined; "onRow-click"?: ((rowData: RecordType, rowIndex: number) => any) | undefined; onRefresh?: (() => any) | undefined; onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined; }, { fixed: boolean; data: RecordType[]; columns: PlusColumn[]; border: boolean; rowKey: string; actionBar: false | Partial< ActionBarProps>; stripe: boolean; scrollbarAlwaysOn: boolean; titleBar: boolean | { title?: string | undefined; refresh?: boolean | undefined; }; defaultSize: "" | "default" | "small" | "large"; tableData: RecordType[]; pagination: false | Partial; hasIndexColumn: boolean; isSelection: boolean; loadingStatus: boolean; columnsEmptyText: string; headerHeight: number; rowHeight: number; defaultColumnWidth: number; selectionColumnWidth: number; indexColumnWidth: number; }, {}>, { title?(_: {}): any; toolbar?(_: {}): any; "pagination-left"?(_: {}): any; "pagination-right"?(_: {}): any; }>; export default _default; type __VLS_NonUndefinedable = T extends undefined ? never : T; type __VLS_TypePropsToRuntimeProps = { [K in keyof T]-?: {} extends Pick ? { type: PropType<__VLS_NonUndefinedable>; } : { type: PropType; required: true; }; }; type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; }; type __VLS_Prettify = { [K in keyof T]: T[K]; } & {}; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };