import React from 'react';
import { CheckboxChangeEvent } from 'antd/es/checkbox';
import { MouseEventHandler } from 'react';
import { SortDirection } from '@tanstack/react-table';
export interface GridCheckboxProps {
    checked?: boolean;
    indeterminate?: boolean;
    disabled?: boolean;
    onChange?(event: CheckboxChangeEvent): void;
}
export interface GridExpandProps {
    isExpand: boolean;
    onClick(event: MouseEventHandler): void;
}
export interface GridSortingProps {
    state: false | SortDirection;
}
export interface GridFilterProps {
    value: React.Key | React.Key[] | Date;
}
export interface GridIconsProps {
    checkbox?(props: GridCheckboxProps): React.ReactNode;
    expand?(props: GridExpandProps): React.ReactNode;
    sorting?(props: GridSortingProps): React.ReactNode;
    /** @todo реализовать более гибкое решение для фильтров */
    filter?(value: GridFilterProps): React.ReactNode;
}
