import { FilterOption } from './filter-option';

export interface FilterBase<T, O extends FilterOption> {
  readonly type: T;
  target?: 'filter' | 'input';
  key?: string | number;
  name: string;
  options: O[];
}
