import { ComputedRef, HTMLAttributes, Ref } from "vue"; import { ExpandRender, SortConfig, TableComponent, TableComponentInner, WidthCssUnit } from "./types"; export declare const prefixCls = "fry-table"; interface ColumnClassConfig { border?: boolean; fixedDirection?: string; } export declare function setColumnClass(column: TableComponent.Columns, { border }?: ColumnClassConfig): any[]; export declare const DefaultSortConfig: SortConfig; export declare enum TableInstanceEnum { table = "FryTableInstance" } type SelectionDataIndexs = boolean[]; export interface HandelOther { indexs: Array; dataIndex: number; dataIndexs: Array; } export interface TableInstance { /**是否全部选中 */ selectionValue: Ref; /**选中的props的index */ selectionDataIndexs: Ref; /**有选中和未选中得列 */ selectionIndeterminate: ComputedRef; RowClick(row: any, index: number, other: HandelOther): void; RowDblClick(row: any, index: number, other: HandelOther): void; /**树形表格每行的class */ treeClassName: HTMLAttributes["class"]; rowClassName?: ((row: any, index: number, other: HandelOther) => HTMLAttributes["class"]) | string | Array | object; KeyIndex: number; widthCssUnit: WidthCssUnit; isScrollLeftMost: Ref; isScrollRightMost: Ref; remFontSize?: number; expandRender?: ExpandRender; expandClass?: HTMLAttributes["class"]; ExpandStyle?: ComputedRef; } export declare const DefaultColWidth = 80; export declare function GetFixedDirection(fixed: TableComponent.Columns<{}>["fixed"]): "right" | "left" | undefined; export declare function GetFixedConfig(columns: TableComponentInner.Columns[], index: number): { classes: { [x: string]: boolean; }[]; styleses: import("vue").StyleValue[]; }; export declare function SetColWidth(width: number, widthCssUnit: WidthCssUnit, fontSize?: number): string; export {};