import * as React from 'react'; declare type EmailInputProps = { placeholder: string; autoComplete: string; type: string; required: boolean; name: string; }; export declare const useEmailSubscriptionForm: ({ submit, emailInputProps: emailInputPropsOverride, resetOnSuccess }: { submit: (email: string) => void | Promise; emailInputProps?: Partial | undefined; resetOnSuccess?: boolean | undefined; }) => { emailInputProps: { placeholder: string; autoComplete: string; type: string; required: boolean; name: string; } | { placeholder: string; autoComplete: string; type: string; required: boolean; name: string; }; onSubmit: (event: React.FormEvent) => void; status: "submitting" | "error" | "success" | undefined; setStatus: React.Dispatch>; error: string | undefined; }; export {};