import type { WtTableHeader } from '../wt-table/types/WtTable.d.ts'; type __VLS_Props = { /** * 'Accepts list of header objects. Draws text depending on "text" property, looks for data values through "value", "show" boolean controls visibility of a column (if undefined, all visible by default). ' Column width is calculated by "width" param. By default, sets minmax(150px, 1fr). ' */ headers: WtTableHeader[]; /** * 'List of data, represented by table. ' */ data: Record[]; /** * 'If true, draws sorting arrows and sends sorting events at header click. Draws a sorting arrow by "sort": "asc"/"desc" header value. ' */ sortable?: boolean; /** * 'If true, draws row selection checkboxes. Checkbox toggles data object _isSelected property. It's IMPORTANT to set this property before sending data to table. ' */ selectable?: boolean; selected: unknown[]; /** * 'If true, reserves space for 3 icon actions in the last column. Accessible by "actions" slot. ' */ gridActions?: boolean; /** * 'It's a key in data object, which contains children array. ' */ childrenProp: string; /** * 'It's a key in data object, which contains field what display searched elements. By this field, table will be opened to elements with this field value. ' */ searchedProp?: string; }; declare var __VLS_18: {}, __VLS_29: { item: any; }, __VLS_33: string, __VLS_34: { index: number; item: any; }; type __VLS_Slots = {} & { [K in NonNullable]?: (props: typeof __VLS_34) => any; } & { 'actions-header'?: (props: typeof __VLS_18) => any; } & { actions?: (props: typeof __VLS_29) => any; }; declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { sort: (...args: any[]) => void; "update:selected": (...args: any[]) => void; }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ onSort?: (...args: any[]) => any; "onUpdate:selected"?: (...args: any[]) => any; }>, { sortable: boolean; selectable: boolean; gridActions: boolean; searchedProp: string; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const __VLS_export: __VLS_WithSlots; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };