export type FormMessageType = 'error' | 'info' | 'warning';
interface FormMessageOwnProps<E extends React.ElementType = React.ElementType> {
    type?: FormMessageType;
    as?: E;
    className?: string;
}
export type FormMessageProps<E extends React.ElementType> = FormMessageOwnProps<E> & Omit<React.ComponentPropsWithoutRef<E>, keyof FormMessageOwnProps>;
declare const defaultElement = "p";
export declare const FormMessage: <E extends React.ElementType = typeof defaultElement>(props: FormMessageProps<E>) => React.ReactElement | null;
export {};
//# sourceMappingURL=form-message.d.ts.map