import type { SORT_ORDER } from '../../../../types/query';
export interface IGrid {
    identifier: string;
    views: Record<string, any>;
    id: number;
}
export interface IGenericGridView {
    id: number;
    name: string;
    public: boolean;
}
export interface IGridView extends IGenericGridView {
    grid: IGrid;
    filters: {
        /** Indicates that filter should be applied */
        active?: boolean;
        /** Column ID */
        field: string;
        /** Comparison operator */
        operator: string;
        /** Value for filter */
        value: string | number | boolean | (string | number | boolean)[];
        from?: string | number | boolean;
        to?: string | number;
    }[];
    columns: {
        columnPosition: number;
        field: string;
        width?: number;
        sortDirection?: SORT_ORDER;
    }[];
    created: string;
    createdBy: number;
    createdByUsername: string;
    modified: string;
    modifiedBy: number;
    modifiedByUsername: string;
    additionalData: any;
}
