import { Options as SortableOptions } from 'sortablejs'; import { RecordType } from 'haotai-ui/es/types'; import { TableInstance } from 'element-plus'; import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue'; export interface PlusTableColumnDragSortProps { sortable: SortableOptions | boolean; tableInstance: TableInstance | null; dragSortableTableColumnProps: RecordType; } export interface PlusTableColumnDragSortEmits { (e: 'dragSortEnd', newIndex: number, oldIndex: number): void; } declare function __VLS_template(): { "drag-sort-icon"?(_: {}): any; }; declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps, { sortable: boolean; tableInstance: null; dragSortableTableColumnProps: () => {}; }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { dragSortEnd: (newIndex: number, oldIndex: number) => void; }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps, { sortable: boolean; tableInstance: null; dragSortableTableColumnProps: () => {}; }>>> & { onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined; }, { sortable: SortableOptions | boolean; dragSortableTableColumnProps: RecordType; tableInstance: TableInstance | null; }, {}>; declare const _default: __VLS_WithTemplateSlots>; export default _default; type __VLS_NonUndefinedable = T extends undefined ? never : T; type __VLS_TypePropsToRuntimeProps = { [K in keyof T]-?: {} extends Pick ? { type: PropType<__VLS_NonUndefinedable>; } : { type: PropType; required: true; }; }; type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; }; type __VLS_Prettify = { [K in keyof T]: T[K]; } & {}; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };