/* 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 LogoutVariables = _Types.Exact<{ [key: string]: never; }>;


export type Logout = { logout: { loggedOut: boolean | null } | null };


export const LogoutDocument = /*#__PURE__*/ {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"Logout"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"logout"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"loggedOut"}}]}}]}}]} as unknown as DocumentNode;
export type LogoutMutationFn = Apollo.MutationFunction<Logout, LogoutVariables>;

/**
 * __useLogout__
 *
 * To run a mutation, you first call `useLogout` within a React component and pass it any options that fit your needs.
 * When your component renders, `useLogout` 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 [logout, { data, loading, error }] = useLogout({
 *   variables: {
 *   },
 * });
 */
export function useLogout(baseOptions?: Apollo.MutationHookOptions<Logout, LogoutVariables>) {
        const options = {...defaultOptions, ...baseOptions}
        return Apollo.useMutation<Logout, LogoutVariables>(LogoutDocument, options);
      }
export type LogoutHookResult = ReturnType<typeof useLogout>;
export type LogoutMutationResult = Apollo.MutationResult<Logout>;
export type LogoutMutationOptions = Apollo.BaseMutationOptions<Logout, LogoutVariables>;