import { UseTooltipProps } from "../../tooltip/src/tooltip.js"; import { TableColumnCtx } from "./table-column/defaults.js"; import { DefaultRow, Table, TreeProps } from "./table/defaults.js"; import { CSSProperties, VNode, VNodeArrayChildren } from "vue"; //#region ../../packages/components/table/src/util.d.ts declare const createTableId: (namespace: string) => string; declare const createTableColumnId: (parentId: string) => string; type TableOverflowTooltipOptions = Partial>; type TableOverflowTooltipFormatter = (data: { row: T; column: TableColumnCtx; cellValue: any; }) => VNode | string; type RemovePopperFn = (() => void) & { trigger?: HTMLElement; vm?: VNode; }; declare const getCell: (event: Event) => HTMLTableCellElement | null; 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[]; declare const getColumnById: (table: { columns: TableColumnCtx[]; }, columnId: string) => null | TableColumnCtx; declare const getColumnByKey: (table: { columns: TableColumnCtx[]; }, columnKey: string) => TableColumnCtx; declare const getColumnByCell: (table: { columns: TableColumnCtx[]; }, cell: HTMLElement, namespace: string) => null | TableColumnCtx; declare const getRowIdentity: (row: T, rowKey: string | ((row: T) => string) | null) => string; declare const getKeysMap: (array: T[], rowKey: string | null, flatten?: boolean, childrenKey?: string) => Record; declare function mergeOptions(defaults: T, config: K): T & K; declare function parseWidth(width?: number | string): number | string; declare function parseMinWidth(minWidth: number | string): number | string; declare function parseHeight(height: number | string | null): string | number | null; declare function compose(...funcs: ((...args: any[]) => void)[]): (...args: any[]) => void; declare function toggleRowStatus(statusArr: T[], row: T, newVal?: boolean, tableTreeProps?: TreeProps, selectable?: ((row: T, index: number) => boolean) | null, rowIndex?: number, rowKey?: string | null): boolean; declare function walkTreeNode(root: T[], cb: (parent: any, children: T | T[] | null, level: number) => void, childrenKey?: string, lazyKey?: string, lazy?: boolean): void; declare let removePopper: RemovePopperFn | null; declare function createTablePopper(props: TableOverflowTooltipOptions, popperContent: string, row: T, column: TableColumnCtx | null, trigger: HTMLElement | null, table: Table): void; 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; }; declare const getFixedColumnsClass: (namespace: string, index: number, fixed: string | boolean | undefined, store: any, realColumns?: TableColumnCtx[], offset?: number) => string[]; declare const getFixedColumnOffset: (index: number, fixed: string | boolean | undefined, store: any, realColumns?: TableColumnCtx[]) => CSSProperties | undefined; declare const ensurePosition: (style: T | undefined, key: keyof T) => void; declare function ensureValidVNode(vnodes: VNodeArrayChildren): VNodeArrayChildren | null; //#endregion export { TableOverflowTooltipFormatter, TableOverflowTooltipOptions, compose, createTableColumnId, createTableId, createTablePopper, ensurePosition, ensureValidVNode, getCell, getColumnByCell, getColumnById, getColumnByKey, getFixedColumnOffset, getFixedColumnsClass, getKeysMap, getRowIdentity, isFixedColumn, mergeOptions, orderBy, parseHeight, parseMinWidth, parseWidth, removePopper, toggleRowStatus, walkTreeNode };