import { ButtonProps } from 'element-plus';

export type ActionType = "view" | "custom";
export interface FsTableActionProps {
    show?: boolean;
    type?: ActionType;
    params?: any;
    label?: string;
    buttonType?: ButtonProps["type"];
    component?: any;
}
export interface FsTableDeleteActionProps {
    show?: boolean;
    params?: any;
    label?: string;
    buttonType?: ButtonProps["type"];
    title?: string;
    custom?: boolean;
}
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
    label: string;
    fixed: string | boolean;
    width: string;
    edit?: FsTableActionProps;
    detail?: FsTableActionProps;
    delete?: FsTableDeleteActionProps;
}>, {
    fixed: string;
    width: string;
    label: string;
    edit: () => {
        label: string;
        show: boolean;
        buttonType: import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "default" | "text" | "primary" | "success" | "warning" | "danger" | "info", unknown>;
        type: string;
    };
    detail: () => {
        label: string;
        show: boolean;
        type: string;
    };
    delete: () => {
        label: string;
        show: boolean;
        buttonType: import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "default" | "text" | "primary" | "success" | "warning" | "danger" | "info", unknown>;
        title: string;
    };
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
    delete: (row: any) => void;
    edit: (row: any) => void;
    detail: (row: any) => void;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
    label: string;
    fixed: string | boolean;
    width: string;
    edit?: FsTableActionProps;
    detail?: FsTableActionProps;
    delete?: FsTableDeleteActionProps;
}>, {
    fixed: string;
    width: string;
    label: string;
    edit: () => {
        label: string;
        show: boolean;
        buttonType: import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "default" | "text" | "primary" | "success" | "warning" | "danger" | "info", unknown>;
        type: string;
    };
    detail: () => {
        label: string;
        show: boolean;
        type: string;
    };
    delete: () => {
        label: string;
        show: boolean;
        buttonType: import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "default" | "text" | "primary" | "success" | "warning" | "danger" | "info", unknown>;
        title: string;
    };
}>>> & {
    onDelete?: (row: any) => any;
    onEdit?: (row: any) => any;
    onDetail?: (row: any) => any;
}, {
    label: string;
    fixed: string | boolean;
    delete: {
        label: string;
        show: boolean;
        buttonType: import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "default" | "text" | "primary" | "success" | "warning" | "danger" | "info", unknown>;
        title: string;
    };
    edit: {
        label: string;
        show: boolean;
        buttonType: import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "default" | "text" | "primary" | "success" | "warning" | "danger" | "info", unknown>;
        type: string;
    };
    detail: {
        label: string;
        show: boolean;
        type: string;
    };
    width: string;
}, {}>, {
    default?(_: {
        row: any;
    }): any;
}>;
export default _default;
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
type __VLS_TypePropsToRuntimeProps<T> = {
    [K in keyof T]-?: {} extends Pick<T, K> ? {
        type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
    } : {
        type: import('vue').PropType<T[K]>;
        required: true;
    };
};
type __VLS_WithDefaults<P, D> = {
    [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
        default: D[K];
    }> : P[K];
};
type __VLS_Prettify<T> = {
    [K in keyof T]: T[K];
} & {};
type __VLS_WithTemplateSlots<T, S> = T & {
    new (): {
        $slots: S;
    };
};
