import { SdOperatorHasData, SdOperatorNoData } from './operator.model';
export type SdFilter<T = any> = SdFilterHasData<T> | SdFilterNoData<T>;
export interface SdFilterHasData<T = any> {
    field: Extract<keyof T, string>;
    operator: SdOperatorHasData;
    data: any;
}
export interface SdFilterNoData<T = any> {
    field: Extract<keyof T, string>;
    operator: SdOperatorNoData;
}
