import { icon, register, control, rich_text } from '../types';
import { WithAny, WithDefaultValues, WithLabel, WithOptions } from '../withs';
export declare function useField({ name, className, required, half, threeOf5, twoOf5, prepend, prependIcon, append, appendIcon, kind, disabled, helper, type, placeholder, errors, defaultValue, defaultValues, options, label, register, control, field, variant, classes, valueAs, convertValue, deps, inputProps, fieldsetProps, ...extra }: field_def_params, defaults?: {
    name?: string;
    kind?: string;
}): {
    control: any;
    className?: string | undefined;
    name: string;
    label?: any;
    placeholder?: any;
    error: any;
    required?: boolean | undefined;
    helper?: any;
    options?: any;
    disabled?: boolean | undefined;
    defaultValue?: any;
    kind?: string | undefined;
    register: Function;
    variant?: any;
    extra?: any;
    type?: any;
    getUploadParams?: Function | undefined;
    prepend?: any;
    append?: any;
    classes?: any;
    inputProps?: Function | undefined;
    fieldsetProps?: Function | undefined;
};
export interface field_def_params extends WithLabel, WithAny, WithOptions, WithDefaultValues {
    name?: string;
    type?: string;
    prepend?: rich_text;
    prependIcon?: icon;
    append?: rich_text;
    appendIcon?: icon;
    required?: boolean;
    disabled?: boolean;
    helper?: rich_text;
    defaultValue?: any;
    errors?: {
        [key: string]: any;
    };
    placeholder?: rich_text;
    register?: register;
    control?: control;
    field?: boolean;
    classes?: any;
    valueAs?: 'string' | 'number' | 'date' | 'boolean' | ((value: any) => any);
    convertValue?: Function;
    deps?: string | string[];
    inputProps?: Function;
    fieldsetProps?: Function;
}
export default useField;
//# sourceMappingURL=useField.d.ts.map