import { default as React, HTMLInputTypeAttribute } from 'react';
import { ChangeHandler, InputType, Option } from '../types';
import { IDateProps } from '@starasia/date';

export interface FieldProps {
    name?: string;
    title?: string;
    label?: string;
    parentKey?: string;
    childrenKey?: string[];
    relationWith?: string;
    relationLabel?: string;
    relationLabelChip?: string;
    type?: InputType;
    multiple?: boolean;
    placeholder?: string;
    searchable?: boolean;
    options?: Option[];
    onChange?: ChangeHandler;
    value?: any;
    fields?: FieldProps[];
    onSearch?: (value: string) => void;
    borderBottom?: boolean;
    disabled?: boolean;
    dateFilter?: IDateProps["filter"];
    enableInputDate?: boolean;
    withSearchParam?: boolean;
    rangedDate?: boolean;
    dateValueFormatText?: "indonesian" | "iso";
    inputTextType?: HTMLInputTypeAttribute;
    min?: number;
    max?: number;
}
export declare const FilterField: React.MemoExoticComponent<React.ForwardRefExoticComponent<FieldProps & React.RefAttributes<HTMLDivElement>>>;
