import Emitter, { IEmitter } from '../Emitter';
import { IPageContentCell } from '../Page/Content';
import { IGridSelection, IGridCells } from './Grid';
import { IGridCell, IGridCellDetails } from './GridCell';
export interface IGridEvents extends IEmitter {
    CELL: string;
    BLUR: string;
    FOCUS: string;
    NO_CELL: string;
    CELL_LINK_CLICKED: string;
    CELL_DOUBLE_CLICKED: string;
    CELL_CLICKED: string;
    CELL_VALUE: string;
    CELL_SELECTED: string;
    CELL_RESET: string;
    CELL_CHECKED: string;
    CELL_OPTION: string;
    COPY: string;
    EDITING: string;
    RESIZE: string;
    RESIZING: string;
    RESIZED: string;
    COLUMNS_MOVED: string;
    DELETE: string;
    SELECTED_ALL: string;
    ERROR: string;
    COLUMN_FILTER: string;
    COLUMN_FILTER_FOCUS: string;
    emitCellSelected(data: IGridEventCellSelected): void;
}
declare class GridEvents extends Emitter implements IGridEvents {
    constructor();
    get CELL_CLICKED(): string;
    get BLUR(): string;
    get FOCUS(): string;
    get NO_CELL(): string;
    get CELL_HISTORY_CLICKED(): string;
    get CELL_LINK_CLICKED(): string;
    get CELL_DOUBLE_CLICKED(): string;
    get CELL_VALUE(): string;
    get CELL_SELECTED(): string;
    get CELL_RESET(): string;
    get CELL_CHECKED(): string;
    get CELL_OPTION(): string;
    get EDITING(): string;
    get RESIZE(): string;
    get RESIZING(): string;
    get RESIZED(): string;
    get COLUMNS_MOVED(): string;
    get COLUMN_FILTER(): string;
    get COLUMN_FILTER_FOCUS(): string;
    get DELETE(): string;
    get SELECTED_ALL(): string;
    get CELL(): string;
    get COPY(): string;
    get INTERNAL_CELL_SELECTED(): string;
    get ERROR(): string;
    emitCellSelected(data: IGridEventCellSelected): void;
}
export interface IGridEventEditing {
    content: IPageContentCell;
    cell: IGridCell;
    editing: boolean;
    dirty: boolean;
}
export interface IGridEventCellClicked {
    cell: IGridCellDetails;
    content: IPageContentCell;
    event: MouseEvent;
    rightClick: boolean;
    historyClick: boolean;
    heading: boolean;
}
export interface IGridEventCellChecked {
    cell: IGridCellDetails;
    content?: IPageContentCell;
    checked: boolean;
    value: any;
}
export interface IGridEventCellSelection {
    from: IGridCellDetails;
    to: IGridCellDetails;
    heading: boolean;
    inside: boolean;
    reference: string;
    keyboard: boolean;
    type: string;
}
export interface IGridEventCellSelected {
    reference: string;
    selection: IGridEventCellSelection;
    rightClick: boolean;
    event: MouseEvent | KeyboardEvent | TouchEvent;
    which: string;
    count: number;
    multiple: boolean;
    colFrom?: number;
    colTo?: number;
    rowFrom?: number;
    rowTo?: number;
}
export interface IGridEventCopy {
}
export interface IGridEventDelete {
    cells: IGridCells;
    selection: IGridSelection;
    event: KeyboardEvent;
}
export interface IGridEventCellValue {
    cell: IGridCell;
    content: IPageContentCell;
    value: string | number | boolean;
}
export interface IGridEventResized {
    index: number;
    which: string;
    size: number;
}
export interface IGridEventCellChecked {
    cell: IGridCellDetails;
    content?: IPageContentCell;
    checked: boolean;
    value: any;
}
export interface IGridEventCellOption {
    cell: IGridCellDetails;
    content?: IPageContentCell;
    option: string;
}
export interface IGridEventError {
    message: string;
}
export default GridEvents;
