import { FieldValues, ValidationRules } from '../../../hooks/form/types';
import { SelectChangeEvent } from '../FormFields/Select/types';
interface FormSelectProps<TFieldValues> {
    fieldName: FieldValues<TFieldValues>;
    label: string;
    items: {
        id: string;
        name: string;
    }[];
    readonly?: boolean;
    filterable?: boolean;
    hideOptionalLabel?: boolean;
    className?: string;
    isRequired?: boolean;
    isReadOnly?: boolean;
    validate?: ValidationRules['validate'];
    onChange?: (e: SelectChangeEvent) => void;
    clearable?: boolean;
    preventInvalidState?: boolean;
}
export declare function FormSelect<TFieldValues>({ className, clearable, fieldName, filterable, hideOptionalLabel, isRequired: isRequiredProp, isReadOnly: isReadOnlyProp, items, label, onChange, preventInvalidState, readonly, validate, }: FormSelectProps<TFieldValues>): import("preact").JSX.Element;
export {};
//# sourceMappingURL=FormSelect.d.ts.map