import type { Props } from './type';
type RowVal = {
    id: string | number;
    value: any;
    prop?: any;
};
declare var __VLS_14: {}, __VLS_16: {}, __VLS_22: {
    row: any;
    column: any;
    $index: any;
}, __VLS_29: any, __VLS_30: {
    column: any;
    $index: any;
}, __VLS_33: `${any}-left`, __VLS_34: {
    config: any;
    row: any;
    column: any;
    $index: any;
}, __VLS_48: {}, __VLS_50: {}, __VLS_52: {}, __VLS_54: {}, __VLS_233: any, __VLS_234: {
    config: any;
    row: any;
    column: any;
    $index: any;
}, __VLS_237: `${any}-right`, __VLS_238: {
    config: any;
    row: any;
    column: any;
    $index: any;
}, __VLS_240: {}, __VLS_242: {};
type __VLS_Slots = {} & {
    [K in NonNullable<typeof __VLS_29>]?: (props: typeof __VLS_30) => any;
} & {
    [K in NonNullable<typeof __VLS_33>]?: (props: typeof __VLS_34) => any;
} & {
    [K in NonNullable<typeof __VLS_233>]?: (props: typeof __VLS_234) => any;
} & {
    [K in NonNullable<typeof __VLS_237>]?: (props: typeof __VLS_238) => any;
} & {
    'pagination-left'?: (props: typeof __VLS_14) => any;
} & {
    tableLeft?: (props: typeof __VLS_16) => any;
} & {
    expandContent?: (props: typeof __VLS_22) => any;
} & {
    prefix?: (props: typeof __VLS_48) => any;
} & {
    suffix?: (props: typeof __VLS_50) => any;
} & {
    prepend?: (props: typeof __VLS_52) => any;
} & {
    append?: (props: typeof __VLS_54) => any;
} & {
    tableRight?: (props: typeof __VLS_240) => any;
} & {
    empty?: (props: typeof __VLS_242) => any;
};
declare const __VLS_component: import("vue").DefineComponent<Props, {
    /** 获取最新的表格数据 */
    getResultData: () => {}[];
    /** 重置表格 */
    recover: () => void;
    /** 根据rowKey重置表格，支持传入string|array */
    recoverByKey: (id: string | string[] | number | number[]) => void;
    /**
     * 插入数据
     * @param newRow 需要插入的数据
     * @param index 指定索引（不填则默认插入到表格末尾）
     * @param position 位置:befor(插入到指定index前),after(插入到指定index后)<默认after>
     */
    insert: (newRow: any, index?: number, position?: "before" | "after") => void;
    /** 修改表格某行的值,传入prop则是修改具体某个字段 */
    changeRowValueByKey: (rowValue: RowVal) => void;
    /** 删除或者批量删除行，支持传入string|array */
    removeRowByKey: (value: string | string[] | number | number[]) => void;
    /** 取消所有编辑行的激活状态 */
    deactivateAll: () => void;
    /** 校验全部 */
    validateAll: (callback?: (valid: boolean, errFiedList: any[]) => void) => void;
    /** 根据rowKey校验指定项，支持传入string|array */
    validateByRowKey: (id: string | string[] | number | number[], callback?: (result: any) => void) => void;
    /** 清除或者批量清除错误信息，支持传入string|array  */
    removeErrorByRowKey: (id: string | string[] | number | number[]) => void;
    /** 清空全部校验信息 */
    clearValidate: () => void;
    /** 修改校验规则 */
    changeRules: (key: string, callback?: (rule: any, checkFn: any) => void) => void;
    /** 清除某一单元格的校验信息 */
    removeCellError: (row: any, prop?: string) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
    sortEnd: (oldData: any[], newData: any[], oldIndex: number, newIndex: number) => any;
    "update:selection-rows": (selectionRows: any[]) => any;
    addRow: () => any;
    removeRow: () => any;
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
    onSortEnd?: ((oldData: any[], newData: any[], oldIndex: number, newIndex: number) => any) | undefined;
    "onUpdate:selection-rows"?: ((selectionRows: any[]) => any) | undefined;
    onAddRow?: (() => any) | undefined;
    onRemoveRow?: (() => any) | undefined;
}>, {
    config: import("./type").ListConfig[];
    props: {
        isView?: string;
        isDisabled?: string;
    };
    data: any[];
    trigger: "change" | "blur" | "save";
    rowKey: string;
    selectionRows: any[];
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
    new (): {
        $slots: S;
    };
};
