import { Filter } from '@judo/model-api'; import { GridColType } from '@mui/x-data-grid'; /** * MUI X DataGrid built-in operator tokens used by this codebase. * * NOTE: These are NOT model values — they belong to the rendering layer * (`@mui/x-data-grid`'s `getGridDefaultColumnTypes()`). They cannot be * derived from `@judo/model-api`. The local union exists so a typo in * the operator-mapping table fails compilation instead of silently * producing a string DataGrid will reject at runtime. */ export type DataGridOperator = "contains" | "equals" | "is" | "not" | "=" | "!=" | "<" | "<=" | ">" | ">=" | "before" | "onOrBefore" | "after" | "onOrAfter" | "isEmpty" | "isNotEmpty"; /** * Gets the MUI DataGrid column type for a Filter element. * * The underlying model may represent data types either with the bare name * (`NumericType`) or the prefixed EMF form (`data:NumericType`); both are * accepted and produce the same result. * * Same logic as getColumnType() in table-column-utils.ts, but operates on * Filter.attributeType instead of Column.attributeType. */ export declare function getFilterColumnType(filter: Filter): GridColType; /** * Maps a model Filter's defaultOperation + data type to the MUI DataGrid * operator string used in GridFilterItem. * * The returned operator flows through the existing table-filter-utils.ts → * build-query-customizer.ts pipeline unchanged. */ export declare function getFilterDataGridOperator(filter: Filter): DataGridOperator; //# sourceMappingURL=filter-operator-utils.d.ts.map