/** * Header of table */ export interface ClassicDataTableHeader { /** Label of the header */ label: string; /** Key of the item that will be displayed */ value: keyof T; } export interface ClassicDataTableProps { /** The elements to display in the table */ items: Array; /** The columns to display in the table */ headers: Array>; /** When true, checkboxes allowing for selection will be displayed */ selectable?: boolean; /** The currently selected items */ selection?: Array; /** When set to false, only one element can be selected */ selectionMultiple?: boolean; } export interface ClassicDataTableEvents { /** Event triggered when the selection changes */ (e: 'update:selection', selection: Array): void; } declare const __VLS_export: (__VLS_props: NonNullable>["props"], __VLS_ctx?: __VLS_PrettifyLocal>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: __VLS_PrettifyLocal & { "onUpdate:selection"?: (selection: T[]) => any; }> & import('../../../node_modules/vue').PublicProps & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P; } ? P : {}); expose: (exposed: {}) => void; attrs: any; slots: { [x: string]: (props: { item: T; value: T[keyof T]; }) => any; } & { 'item-actions'?: (props: { item: T; }) => any; }; emit: ClassicDataTableEvents; }>) => import('../../../node_modules/vue').VNode & { __ctx?: Awaited; }; declare const _default: typeof __VLS_export; export default _default; type __VLS_PrettifyLocal = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};