type Response = {
    status: number;
    data?: {
        message?: string;
    };
};
interface FormMessageProps {
    className?: string;
    message?: string;
    noPadding?: boolean;
    formSuccess?: Response;
    formError?: Response;
}
/**
 * @deprecated
 */
export declare const getErrorMessage: (formError?: Response) => string | undefined;
/**
 * @deprecated
 */
export declare const getSuccessMessage: (formSuccess?: Response) => string | undefined;
export declare function FormMessage({ className, message, formSuccess, formError, noPadding, }: FormMessageProps): import("react/jsx-runtime").JSX.Element;
export {};
