import { type ElTooltipProps } from 'element-plus/es/components/tooltip'; import type { DefaultRow, Table, TreeProps } from './table/defaults'; import type { TableColumnCtx } from './table-column/defaults'; import type { CSSProperties, VNode } from 'vue'; export type TableOverflowTooltipOptions = Partial>; export type TableOverflowTooltipFormatter = (data: { row: T; column: TableColumnCtx; cellValue: any; }) => VNode | string; type RemovePopperFn = (() => void) & { trigger?: HTMLElement; vm?: VNode; }; export declare const getCell: (event: Event) => HTMLTableCellElement | null; export declare const orderBy: (array: T[], sortKey: string | null, reverse: string | number | null, sortMethod: TableColumnCtx["sortMethod"] | null, sortBy: string | string[] | ((a: T, index: number, array?: T[]) => string)) => T[]; export declare const getColumnById: (table: { columns: TableColumnCtx[]; }, columnId: string) => null | TableColumnCtx; export declare const getColumnByKey: (table: { columns: TableColumnCtx[]; }, columnKey: string) => TableColumnCtx; export declare const getColumnByCell: (table: { columns: TableColumnCtx[]; }, cell: HTMLElement, namespace: string) => null | TableColumnCtx; export declare const getRowIdentity: (row: T, rowKey: string | ((row: T) => string) | null, isReturnRawValue?: boolean) => string; export declare const getKeysMap: (array: T[], rowKey: string | null, flatten?: boolean, childrenKey?: string) => Record; export declare function mergeOptions(defaults: T, config: K): T & K; export declare function parseWidth(width?: number | string): number | string; export declare function parseMinWidth(minWidth: number | string): number | string; export declare function parseHeight(height: number | string | null): string | number | null; export declare function compose(...funcs: ((...args: any[]) => void)[]): (...args: any[]) => void; export declare function toggleRowStatus(statusArr: T[], row: T, newVal?: boolean, tableTreeProps?: TreeProps, selectable?: ((row: T, index: number) => boolean) | null, rowIndex?: number, rowKey?: string | null): boolean; export declare function walkTreeNode(root: T[], cb: (parent: any, children: T | T[] | null, level: number) => void, childrenKey?: string, lazyKey?: string, lazy?: boolean): void; export declare let removePopper: RemovePopperFn | null; export declare function createTablePopper(props: TableOverflowTooltipOptions, popperContent: string, row: T, column: TableColumnCtx | null, trigger: HTMLElement | null, table: Table): void; export declare const isFixedColumn: (index: number, fixed: string | boolean | undefined, store: any, realColumns?: TableColumnCtx[]) => { direction: string; start: number; after: number; } | { direction?: undefined; start?: undefined; after?: undefined; }; export declare const getFixedColumnsClass: (namespace: string, index: number, fixed: string | boolean | undefined, store: any, realColumns?: TableColumnCtx[], offset?: number) => string[]; export declare const getFixedColumnOffset: (index: number, fixed: string | boolean | undefined, store: any, realColumns?: TableColumnCtx[]) => CSSProperties | undefined; export declare const ensurePosition: (style: CSSProperties | undefined, key: keyof CSSProperties) => void; export {};