import { TableColumnCtx } from 'element-plus'; import { ButtonsCallBackParams, ActionBarButtonsRow, ActionBarProps } from './type'; import { RecordType } from 'plus-pro-components/es/types'; import { ComputedRef, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue'; export interface PlusTableActionBarEmits { (e: 'clickAction', data: ButtonsCallBackParams): void; (e: 'clickActionConfirmCancel', data: ButtonsCallBackParams): void; } declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps, { label: string; fixed: string; type: string; buttons: () => never[]; width: number; showNumber: number; actionBarTableColumnProps: () => {}; confirmType: string; showLimitIncludeMore: boolean; moreType: string; }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { clickAction: (data: ButtonsCallBackParams) => void; clickActionConfirmCancel: (data: ButtonsCallBackParams) => void; }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps, { label: string; fixed: string; type: string; buttons: () => never[]; width: number; showNumber: number; actionBarTableColumnProps: () => {}; confirmType: string; showLimitIncludeMore: boolean; moreType: string; }>>> & { onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined; onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined; }, { width: string | number; type: "link" | "icon" | "button"; label: string | ComputedRef; fixed: string; showNumber: number | ((row: RecordType, index: number) => number); showLimitIncludeMore: boolean; buttons: ActionBarButtonsRow[]; actionBarTableColumnProps: Partial< TableColumnCtx>; confirmType: "messageBox" | "popconfirm"; moreType: "text" | "icon"; }, {}>, { "action-bar-more-icon"?(_: {}): any; }>; 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; }; };