import { ComponentPropsWithoutRef } from 'react';

type InputType = 'input' | 'textarea';
export interface InputWithLabelProps extends ComponentPropsWithoutRef<'div'> {
    label: string;
    type?: InputType;
    name: string;
    placeholder?: string;
    className?: string;
    inputClassName?: string;
    labelClassName?: string;
    required?: boolean;
    error?: string;
}
export declare const InputWithLabel: import('react').ForwardRefExoticComponent<InputWithLabelProps & import('react').RefAttributes<HTMLDivElement>>;
export {};
