import { ReactElement } from 'react';
import { FieldInputProps, FieldMetaState } from 'react-final-form';
import { ICustomOption } from './CustomOption/CustomOption.types';
export interface IOptions {
    value: string;
    id: number;
    isSelected: boolean;
}
export interface IValues {
    [key: string]: IOptions;
}
export interface IPhoneCode {
    code: string;
    phoneCode: string;
}
export interface IFieldDropdownCoreProps {
    options?: string[];
    customOptions?: ICustomOption[];
    idArr?: number[];
    child?: ReactElement;
    placeholder?: string;
    onChange?: (item: string) => void;
    onMultiSelect?: (item: string[]) => void;
    value?: string | null;
    meta: Pick<FieldMetaState<string>, 'touched' | 'active' | 'error'>;
    input: FieldInputProps<string, HTMLElement>;
    needBlueIcon?: boolean;
    needBlackIcon?: boolean;
    isTextArea?: boolean;
    rows?: number;
    multiple?: boolean;
    newValue?: string;
    isLocationDropdown?: boolean;
    initOptions?: string[];
    flagReset?: boolean;
    disabled?: boolean;
    isNeedSearch?: boolean;
    searchPlaceholder?: string;
    searchForAll?: boolean;
    customClassName?: string;
    isInitialValidate?: boolean;
    setFlagReset?: (value: boolean) => void;
    makeMultipleInputValue?: (values: {
        [key: string]: IOptions;
    }) => string;
}
