/***************************************************************************
 * The contents of this file were generated with Amplify Studio.           *
 * Please refrain from making any modifications to this file.              *
 * Any changes to this file will be overwritten when running amplify pull. *
 **************************************************************************/

import * as React from "react";
import { GridProps, TextFieldProps } from "@aws-amplify/ui-react";
import { EscapeHatchProps } from "@aws-amplify/ui-react/internal";
import { Follow } from "../models";
export declare type ValidationResponse = {
    hasError: boolean;
    errorMessage?: string;
};
export declare type ValidationFunction<T> = (value: T, validationResponse: ValidationResponse) => ValidationResponse | Promise<ValidationResponse>;
export declare type FollowUpdateFormInputValues = {
    createdAt?: string;
    updatedAt?: string;
    userIdFilterRef?: string;
    followerIDFilterRef?: string;
    followStatus?: string;
};
export declare type FollowUpdateFormValidationValues = {
    createdAt?: ValidationFunction<string>;
    updatedAt?: ValidationFunction<string>;
    userIdFilterRef?: ValidationFunction<string>;
    followerIDFilterRef?: ValidationFunction<string>;
    followStatus?: ValidationFunction<string>;
};
export declare type PrimitiveOverrideProps<T> = Partial<T> & React.DOMAttributes<HTMLDivElement>;
export declare type FollowUpdateFormOverridesProps = {
    FollowUpdateFormGrid?: PrimitiveOverrideProps<GridProps>;
    createdAt?: PrimitiveOverrideProps<TextFieldProps>;
    updatedAt?: PrimitiveOverrideProps<TextFieldProps>;
    userIdFilterRef?: PrimitiveOverrideProps<TextFieldProps>;
    followerIDFilterRef?: PrimitiveOverrideProps<TextFieldProps>;
    followStatus?: PrimitiveOverrideProps<TextFieldProps>;
} & EscapeHatchProps;
export declare type FollowUpdateFormProps = React.PropsWithChildren<{
    overrides?: FollowUpdateFormOverridesProps | undefined | null;
} & {
    id?: string;
    follow?: Follow;
    onSubmit?: (fields: FollowUpdateFormInputValues) => FollowUpdateFormInputValues;
    onSuccess?: (fields: FollowUpdateFormInputValues) => void;
    onError?: (fields: FollowUpdateFormInputValues, errorMessage: string) => void;
    onChange?: (fields: FollowUpdateFormInputValues) => FollowUpdateFormInputValues;
    onValidate?: FollowUpdateFormValidationValues;
} & React.CSSProperties>;
export default function FollowUpdateForm(props: FollowUpdateFormProps): React.ReactElement;
