/***************************************************************************
 * 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, SwitchFieldProps, TextFieldProps } from "@aws-amplify/ui-react";
import { EscapeHatchProps } from "@aws-amplify/ui-react/internal";
export declare type ValidationResponse = {
    hasError: boolean;
    errorMessage?: string;
};
export declare type ValidationFunction<T> = (value: T, validationResponse: ValidationResponse) => ValidationResponse | Promise<ValidationResponse>;
export declare type RecipeCardCreateFormInputValues = {
    createdAt?: string;
    updatedAt?: string;
    cloneFrom?: string;
    userId?: string;
    isDeleted?: boolean;
    title?: string;
    uploadUrl?: string;
    gifUrl?: string;
    cloudFrontUrl?: string;
    duration?: string;
    cardType?: string;
    cardThumbnail?: string;
};
export declare type RecipeCardCreateFormValidationValues = {
    createdAt?: ValidationFunction<string>;
    updatedAt?: ValidationFunction<string>;
    cloneFrom?: ValidationFunction<string>;
    userId?: ValidationFunction<string>;
    isDeleted?: ValidationFunction<boolean>;
    title?: ValidationFunction<string>;
    uploadUrl?: ValidationFunction<string>;
    gifUrl?: ValidationFunction<string>;
    cloudFrontUrl?: ValidationFunction<string>;
    duration?: ValidationFunction<string>;
    cardType?: ValidationFunction<string>;
    cardThumbnail?: ValidationFunction<string>;
};
export declare type PrimitiveOverrideProps<T> = Partial<T> & React.DOMAttributes<HTMLDivElement>;
export declare type RecipeCardCreateFormOverridesProps = {
    RecipeCardCreateFormGrid?: PrimitiveOverrideProps<GridProps>;
    createdAt?: PrimitiveOverrideProps<TextFieldProps>;
    updatedAt?: PrimitiveOverrideProps<TextFieldProps>;
    cloneFrom?: PrimitiveOverrideProps<TextFieldProps>;
    userId?: PrimitiveOverrideProps<TextFieldProps>;
    isDeleted?: PrimitiveOverrideProps<SwitchFieldProps>;
    title?: PrimitiveOverrideProps<TextFieldProps>;
    uploadUrl?: PrimitiveOverrideProps<TextFieldProps>;
    gifUrl?: PrimitiveOverrideProps<TextFieldProps>;
    cloudFrontUrl?: PrimitiveOverrideProps<TextFieldProps>;
    duration?: PrimitiveOverrideProps<TextFieldProps>;
    cardType?: PrimitiveOverrideProps<TextFieldProps>;
    cardThumbnail?: PrimitiveOverrideProps<TextFieldProps>;
} & EscapeHatchProps;
export declare type RecipeCardCreateFormProps = React.PropsWithChildren<{
    overrides?: RecipeCardCreateFormOverridesProps | undefined | null;
} & {
    clearOnSuccess?: boolean;
    onSubmit?: (fields: RecipeCardCreateFormInputValues) => RecipeCardCreateFormInputValues;
    onSuccess?: (fields: RecipeCardCreateFormInputValues) => void;
    onError?: (fields: RecipeCardCreateFormInputValues, errorMessage: string) => void;
    onChange?: (fields: RecipeCardCreateFormInputValues) => RecipeCardCreateFormInputValues;
    onValidate?: RecipeCardCreateFormValidationValues;
} & React.CSSProperties>;
export default function RecipeCardCreateForm(props: RecipeCardCreateFormProps): React.ReactElement;
