import { fieldComponentTypes } from '../types';
import { BaseSelectOption, EditorBaseField, ComponentBaseProps } from 'ngx-puzzle/core';
import { Report } from '@webdatarocks/webdatarocks';
export interface ComponentTableProps extends ComponentBaseProps {
    table: Report;
}
export interface TableColumnDef {
    field: string;
    header: string;
    width?: number;
    align?: 'left' | 'center' | 'right';
    sortable?: boolean;
    resizable?: boolean;
    fixed?: 'left' | 'right' | null;
    hidden?: boolean;
    type?: 'text' | 'number' | 'date' | 'tag' | 'custom';
}
export interface EditorTableField<TData = any> extends EditorBaseField {
    headerSetting?: EditorTableHeader[];
    rowData?: TData[];
    children?: EditorTableField[];
    options?: BaseSelectOption[];
}
export interface EditorTableHeader {
    field: string;
    headerName: string;
    schemaType: fieldComponentTypes;
    clearable?: boolean;
    options?: BaseSelectOption[];
}
