import { AnyObject } from "../_util/type.js"; import { SELECTION_ALL, SELECTION_COLUMN, SELECTION_INVERT, SELECTION_NONE } from "./hooks/useSelection.js"; import { TableEmits, TableExpose, TableProps as TableProps$1, TableSlots } from "./InternalTable.js"; import Column from "./Column.js"; import ColumnGroup from "./ColumnGroup.js"; import { PublicProps } from "vue"; import { EXPAND_COLUMN, Summary } from "@v-c/table"; //#region src/table/Table.d.ts type TableEmitsProps = { [K in keyof TableEmits as `on${Capitalize}`]?: TableEmits[K]; }; interface InternalTableProps extends TableProps$1, TableEmitsProps {} type TableInstance = { $props: InternalTableProps & PublicProps; $emit: { (event: 'change', ...args: Parameters['change']>): void; (event: 'update:expandedRowKeys', ...args: Parameters['update:expandedRowKeys']>): void; (event: 'scroll', ...args: Parameters['scroll']>): void; }; $slots: TableSlots; } & TableExpose; interface ForwardTableType { new (props: InternalTableProps): TableInstance; /** * Non-generic fallback signature. TypeScript infers from the last overload, * so this keeps render-function usage like `h(Table, props)` resolvable * against Vue's `Constructor

` overload of `h` (see #634), while the * generic signature above still drives template/Volar inference. * `any` (not `AnyObject`) because record callbacks are contravariant: * `TableProps` is not assignable to `TableProps`. */ new (props: InternalTableProps): TableInstance; displayName?: string; SELECTION_COLUMN: typeof SELECTION_COLUMN; EXPAND_COLUMN: typeof EXPAND_COLUMN; SELECTION_ALL: typeof SELECTION_ALL; SELECTION_INVERT: typeof SELECTION_INVERT; SELECTION_NONE: typeof SELECTION_NONE; Column: typeof Column; ColumnGroup: typeof ColumnGroup; Summary: typeof Summary; } declare const _default: ForwardTableType; //#endregion export { ForwardTableType, TableEmitsProps, _default as default };