/* eslint-disable */
//@ts-nocheck
import type * as _Types from '../types';

import type { DocumentNode } from 'graphql';
import * as Apollo from '@apollo/client';
const defaultOptions = {} as const;
export type SendEmailVariables = _Types.Exact<{
  sendEmailInput: _Types.SendEmailInput;
}>;


export type SendEmail = { sendEmail: { operationDone: boolean | null } | null };


export const SendEmailDocument = /*#__PURE__*/ {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SendEmail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sendEmailInput"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SendEmailInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sendEmail"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"sendEmailInput"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sendEmailInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"operationDone"}}]}}]}}]} as unknown as DocumentNode;
export type SendEmailMutationFn = Apollo.MutationFunction<SendEmail, SendEmailVariables>;

/**
 * __useSendEmail__
 *
 * To run a mutation, you first call `useSendEmail` within a React component and pass it any options that fit your needs.
 * When your component renders, `useSendEmail` returns a tuple that includes:
 * - A mutate function that you can call at any time to execute the mutation
 * - An object with fields that represent the current status of the mutation's execution
 *
 * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
 *
 * @example
 * const [sendEmail, { data, loading, error }] = useSendEmail({
 *   variables: {
 *      sendEmailInput: // value for 'sendEmailInput'
 *   },
 * });
 */
export function useSendEmail(baseOptions?: Apollo.MutationHookOptions<SendEmail, SendEmailVariables>) {
        const options = {...defaultOptions, ...baseOptions}
        return Apollo.useMutation<SendEmail, SendEmailVariables>(SendEmailDocument, options);
      }
export type SendEmailHookResult = ReturnType<typeof useSendEmail>;
export type SendEmailMutationResult = Apollo.MutationResult<SendEmail>;
export type SendEmailMutationOptions = Apollo.BaseMutationOptions<SendEmail, SendEmailVariables>;