import { IconProps } from '@starasia/icon';
import { FieldProps } from './components/Field';

export interface Option {
    icon?: React.ReactElement<IconProps>;
    label: string;
    value: string;
}
export type InputType = "dropdown" | "text" | "date" | "select-button" | "date-range";
export type ChangeHandler = (params: {
    value: any;
    name?: string;
    type?: InputType;
}) => void;
export interface ChipItem {
    name?: string;
    label?: string;
    value?: any;
    children?: FieldProps[];
    valueText?: string;
}
export interface FilterQueryParams<T = Record<string, any>> {
    filter?: T;
}
export declare enum FilterContants {
    SearchParamKey = "filter"
}
