import { ZMItem } from '../menu.type';
import { ZuiColumnCommon, ZuiTableAction } from './common.type';
interface ZUIColumnCommandRoot<T> extends Omit<ZuiColumnCommon<T>, 'title' | 'field'> {
    type: 'command';
    icon?: string;
    /** Title column */
    title?: string;
    field?: string;
    /** Width of panel display */
    widthPanel?: string;
}
interface ZUICommandItemGroup<T> extends Omit<ZMItem, 'action'> {
    action?: ZuiTableAction<T, any, void>;
}
interface ZUICommandItemSingle<T> extends Omit<ZMItem, 'action' | 'label'> {
    label?: string;
    action?: ZuiTableAction<T, any, void>;
}
interface ZUIColumnCommandSingle<T> extends ZUIColumnCommandRoot<T> {
    display: 'single';
    items: ZUICommandItemSingle<T>[];
}
interface ZUIColumnCommandGroup<T> extends ZUIColumnCommandRoot<T> {
    display: 'group';
    items: ZUICommandItemGroup<T>[];
}
export declare type ZUICommandItem<T> = ZUICommandItemGroup<T> | ZUICommandItemSingle<T>;
export declare type ZUIColumnCommand<T> = ZUIColumnCommandSingle<T> | ZUIColumnCommandGroup<T>;
export {};
