import React from 'react';
import { DataFilterOperation, DataFilterSet, DataFilterType, DataOption } from '../types/filter.type';

export interface FilterProps {
    type: DataFilterSet,
    range?: [DataFilterType, DataFilterType],
    defaultValue?: DataFilterType | [DataFilterType, DataFilterType],
    defaultOperation?: DataFilterOperation,
    options?: (text: string) => Promise<DataOption[]>,
    toQuery?: (value: DataFilterType | [DataFilterType, DataFilterType]) => DataFilterType | [DataFilterType, DataFilterType],
}

export const Filter: React.FC<FilterProps> = () => {
    return (
        <></>
    )
}