export interface ViewConfig {
    id: string;
    name: string;
    type: string;
    columnOrder: string[];
    filter: FilterRule[];
    sort: SortRule[];
    group: GroupRule[];
    aggregate: AggregateConfig;
    custom: Record<string, any>;
    colorFill: ColorFillRule[];
    creator: string;
    createTime: number;
}
interface FilterRule {
    field: string;
    operator: 'eq' | 'ne' | 'gt' | 'lt' | 'gte' | 'lte' | 'contains';
    value: any;
}
interface SortRule {
    field: string;
    order: 'asc' | 'desc';
}
interface GroupRule {
    field: string;
}
interface AggregateConfig {
    [field: string]: {
        type: 'count' | 'sum' | 'avg' | 'max' | 'min';
    };
}
interface ColorFillRule {
    field: string;
    operator: string;
    value: string;
    color: string;
    scope: 'cell' | 'row' | 'column';
}
export {};
