import type { CSSProperties, PropType } from 'vue'; import { TableColumnCtx } from 'element-plus'; export declare const componentSizes: readonly ["", "default", "small", "large"]; export declare type ComponentSize = typeof componentSizes[number]; export declare const useSizeProp: { readonly type: PropType>; readonly required: false; readonly validator: (val: unknown) => boolean; __epPropKey: true; }; export declare type DefaultRow = any; declare type SummaryMethod = (data: { columns: TableColumnCtx[]; data: T[]; }) => string[]; declare type ColumnCls = string | ((data: { row: T; rowIndex: number; }) => string); declare type ColumnStyle = CSSProperties | ((data: { row: T; rowIndex: number; }) => CSSProperties); declare type CellCls = string | ((data: { row: T; rowIndex: number; column: TableColumnCtx; columnIndex: number; }) => string); declare type CellStyle = CSSProperties | ((data: { row: T; rowIndex: number; column: TableColumnCtx; columnIndex: number; }) => CSSProperties); declare type Layout = 'fixed' | 'auto'; export interface Sort { prop: string; order: 'ascending' | 'descending'; init?: any; silent?: any; } export interface TreeNode { expanded?: boolean; loading?: boolean; noLazyChildren?: boolean; indent?: number; level?: number; display?: boolean; } export declare const tableProps: { data: { type: PropType; default: () => any[]; }; size: { readonly type: PropType>; readonly required: false; readonly validator: (val: unknown) => boolean; __epPropKey: true; }; width: (StringConstructor | NumberConstructor)[]; height: (StringConstructor | NumberConstructor)[]; maxHeight: (StringConstructor | NumberConstructor)[]; fit: { type: BooleanConstructor; default: boolean; }; stripe: BooleanConstructor; border: BooleanConstructor; rowKey: PropType string)>; showHeader: { type: BooleanConstructor; default: boolean; }; showSummary: BooleanConstructor; sumText: StringConstructor; summaryMethod: PropType>; rowClassName: PropType>; rowStyle: PropType>; cellClassName: PropType>; cellStyle: PropType>; headerRowClassName: PropType>; headerRowStyle: PropType>; headerCellClassName: PropType>; headerCellStyle: PropType>; highlightCurrentRow: BooleanConstructor; currentRowKey: (StringConstructor | NumberConstructor)[]; emptyText: StringConstructor; expandRowKeys: PropType; defaultExpandAll: BooleanConstructor; defaultSort: PropType; tooltipEffect: StringConstructor; tooltipOptions: PropType>>; spanMethod: PropType<(data: { row: any; rowIndex: number; column: TableColumnCtx; columnIndex: number; }) => number[] | { rowspan: number; colspan: number; } | undefined>; selectOnIndeterminate: { type: BooleanConstructor; default: boolean; }; indent: { type: NumberConstructor; default: number; }; treeProps: { type: PropType<{ hasChildren?: string; children?: string; }>; default: () => { hasChildren: string; children: string; }; }; lazy: BooleanConstructor; load: PropType<(row: any, treeNode: TreeNode, resolve: (data: any[]) => void) => void>; style: { type: PropType; default: () => {}; }; className: { type: StringConstructor; default: string; }; tableLayout: { type: PropType; default: string; }; scrollbarAlwaysOn: { type: BooleanConstructor; default: boolean; }; flexible: BooleanConstructor; }; export declare const createElTableBindProps: | Extract<"width", keyof T2> | Extract<"style", keyof T2> | Extract<"size", keyof T2> | Extract<"border", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"height", keyof T2> | Extract<"rowKey", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"scrollbarAlwaysOn", keyof T2> | Extract<"load", keyof T2> | Extract<"tableLayout", keyof T2> | Extract<"className", keyof T2> | Extract<"summaryMethod", keyof T2> | Extract<"rowClassName", keyof T2> | Extract<"rowStyle", keyof T2> | Extract<"cellStyle", keyof T2> | Extract<"headerRowClassName", keyof T2> | Extract<"headerRowStyle", keyof T2> | Extract<"headerCellClassName", keyof T2> | Extract<"headerCellStyle", keyof T2> | Extract<"expandRowKeys", keyof T2> | Extract<"defaultSort", keyof T2> | Extract<"tooltipOptions", keyof T2> | Extract<"spanMethod", keyof T2> | Extract<"treeProps", keyof T2> | Extract<"fit", keyof T2> | Extract<"stripe", keyof T2> | Extract<"showHeader", keyof T2> | Extract<"showSummary", keyof T2> | Extract<"sumText", keyof T2> | Extract<"highlightCurrentRow", keyof T2> | Extract<"currentRowKey", keyof T2> | Extract<"emptyText", keyof T2> | Extract<"defaultExpandAll", keyof T2> | Extract<"tooltipEffect", keyof T2> | Extract<"selectOnIndeterminate", keyof T2> | Extract<"indent", keyof T2> | Extract<"lazy", keyof T2> | Extract<"flexible", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> | Exclude, KE> : Extract<"data", keyof T2> | Extract<"width", keyof T2> | Extract<"style", keyof T2> | Extract<"size", keyof T2> | Extract<"border", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"height", keyof T2> | Extract<"rowKey", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"scrollbarAlwaysOn", keyof T2> | Extract<"load", keyof T2> | Extract<"tableLayout", keyof T2> | Extract<"className", keyof T2> | Extract<"summaryMethod", keyof T2> | Extract<"rowClassName", keyof T2> | Extract<"rowStyle", keyof T2> | Extract<"cellStyle", keyof T2> | Extract<"headerRowClassName", keyof T2> | Extract<"headerRowStyle", keyof T2> | Extract<"headerCellClassName", keyof T2> | Extract<"headerCellStyle", keyof T2> | Extract<"expandRowKeys", keyof T2> | Extract<"defaultSort", keyof T2> | Extract<"tooltipOptions", keyof T2> | Extract<"spanMethod", keyof T2> | Extract<"treeProps", keyof T2> | Extract<"fit", keyof T2> | Extract<"stripe", keyof T2> | Extract<"showHeader", keyof T2> | Extract<"showSummary", keyof T2> | Extract<"sumText", keyof T2> | Extract<"highlightCurrentRow", keyof T2> | Extract<"currentRowKey", keyof T2> | Extract<"emptyText", keyof T2> | Extract<"defaultExpandAll", keyof T2> | Extract<"tooltipEffect", keyof T2> | Extract<"selectOnIndeterminate", keyof T2> | Extract<"indent", keyof T2> | Extract<"lazy", keyof T2> | Extract<"flexible", keyof T2>]: { [k in Extract<"data", keyof T2> | Extract<"width", keyof T2> | Extract<"style", keyof T2> | Extract<"size", keyof T2> | Extract<"border", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"height", keyof T2> | Extract<"rowKey", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"scrollbarAlwaysOn", keyof T2> | Extract<"load", keyof T2> | Extract<"tableLayout", keyof T2> | Extract<"className", keyof T2> | Extract<"summaryMethod", keyof T2> | Extract<"rowClassName", keyof T2> | Extract<"rowStyle", keyof T2> | Extract<"cellStyle", keyof T2> | Extract<"headerRowClassName", keyof T2> | Extract<"headerRowStyle", keyof T2> | Extract<"headerCellClassName", keyof T2> | Extract<"headerCellStyle", keyof T2> | Extract<"expandRowKeys", keyof T2> | Extract<"defaultSort", keyof T2> | Extract<"tooltipOptions", keyof T2> | Extract<"spanMethod", keyof T2> | Extract<"treeProps", keyof T2> | Extract<"fit", keyof T2> | Extract<"stripe", keyof T2> | Extract<"showHeader", keyof T2> | Extract<"showSummary", keyof T2> | Extract<"sumText", keyof T2> | Extract<"highlightCurrentRow", keyof T2> | Extract<"currentRowKey", keyof T2> | Extract<"emptyText", keyof T2> | Extract<"defaultExpandAll", keyof T2> | Extract<"tooltipEffect", keyof T2> | Extract<"selectOnIndeterminate", keyof T2> | Extract<"indent", keyof T2> | Extract<"lazy", keyof T2> | Extract<"flexible", keyof T2>]: T2[k]; }[P]; }>; export declare const tableEmits: { select: any; 'select-all': any; 'selection-change': any; 'cell-mouse-enter': any; 'cell-mouse-leave': any; 'cell-contextmenu': any; 'cell-click': any; 'cell-dblclick': any; 'row-click': any; 'row-contextmenu': any; 'row-dblclick': any; 'header-click': any; 'header-contextmenu': any; 'sort-change': any; 'filter-change': any; 'current-change': any; 'header-dragend': any; 'expand-change': any; }; export declare const createElTableOnEmits: (emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"select", KE> | Exclude<"current-change", KE> | Exclude<"select-all", KE> | Exclude<"expand-change", KE> | Exclude<"selection-change", KE> | Exclude<"cell-mouse-enter", KE> | Exclude<"cell-mouse-leave", KE> | Exclude<"cell-contextmenu", KE> | Exclude<"cell-click", KE> | Exclude<"cell-dblclick", KE> | Exclude<"row-click", KE> | Exclude<"row-contextmenu", KE> | Exclude<"row-dblclick", KE> | Exclude<"header-click", KE> | Exclude<"header-contextmenu", KE> | Exclude<"sort-change", KE> | Exclude<"filter-change", KE> | Exclude<"header-dragend", KE> : "select" | "current-change" | "select-all" | "expand-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend"]: { select: (...e: import("@vunk/core").RestParameters) => void; 'select-all': (...e: import("@vunk/core").RestParameters) => void; 'selection-change': (...e: import("@vunk/core").RestParameters) => void; 'cell-mouse-enter': (...e: import("@vunk/core").RestParameters) => void; 'cell-mouse-leave': (...e: import("@vunk/core").RestParameters) => void; 'cell-contextmenu': (...e: import("@vunk/core").RestParameters) => void; 'cell-click': (...e: import("@vunk/core").RestParameters) => void; 'cell-dblclick': (...e: import("@vunk/core").RestParameters) => void; 'row-click': (...e: import("@vunk/core").RestParameters) => void; 'row-contextmenu': (...e: import("@vunk/core").RestParameters) => void; 'row-dblclick': (...e: import("@vunk/core").RestParameters) => void; 'header-click': (...e: import("@vunk/core").RestParameters) => void; 'header-contextmenu': (...e: import("@vunk/core").RestParameters) => void; 'sort-change': (...e: import("@vunk/core").RestParameters) => void; 'filter-change': (...e: import("@vunk/core").RestParameters) => void; 'current-change': (...e: import("@vunk/core").RestParameters) => void; 'header-dragend': (...e: import("@vunk/core").RestParameters) => void; 'expand-change': (...e: import("@vunk/core").RestParameters) => void; }[P]; }; export {};