import React from 'react';
import type { CardFootActionsProps } from "../../cn-card/types";
import { CnButtonType } from "../../cn-button/types";
export type IToolbarItemFunc = (selectKeys: string[], selectInfo: any[]) => React.ReactNode;
export interface ICardItemsToolbarButton {
    children: React.ReactNode;
    onClick?: (event: React.MouseEvent<HTMLElement, MouseEvent>, selectKeys: string[], selectRecord: Array<Record<string, unknown>>) => void;
    visible?: (selectKeys: string[], selectRecord: any[]) => boolean;
    type?: CnButtonType;
}
export type ICardItemsToolbarButtonFun = (selectKeys: string[], selectRecord: Array<Record<string, unknown>>) => ICardItemsToolbarButton;
export interface ICardItemsToolbar extends Partial<Pick<CardFootActionsProps, 'checkBox'>> {
    buttons: Array<ICardItemsToolbarButton | ICardItemsToolbarButtonFun>;
}
