/* 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 GetExerciseLoopStatusVariables = _Types.Exact<{
  exerciseId: _Types.Scalars['ID']['input'];
}>;


export type GetExerciseLoopStatus = { exerciseLoopRunning: boolean | null };


export const GetExerciseLoopStatusDocument = /*#__PURE__*/ {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetExerciseLoopStatus"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"exerciseId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"exerciseLoopRunning"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"exerciseId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"exerciseId"}}}]}]}}]} as unknown as DocumentNode;

/**
 * __useGetExerciseLoopStatus__
 *
 * To run a query within a React component, call `useGetExerciseLoopStatus` and pass it any options that fit your needs.
 * When your component renders, `useGetExerciseLoopStatus` returns an object from Apollo Client that contains loading, error, and data properties
 * you can use to render your UI.
 *
 * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
 *
 * @example
 * const { data, loading, error } = useGetExerciseLoopStatus({
 *   variables: {
 *      exerciseId: // value for 'exerciseId'
 *   },
 * });
 */
export function useGetExerciseLoopStatus(baseOptions: Apollo.QueryHookOptions<GetExerciseLoopStatus, GetExerciseLoopStatusVariables> & ({ variables: GetExerciseLoopStatusVariables; skip?: boolean; } | { skip: boolean; }) ) {
        const options = {...defaultOptions, ...baseOptions}
        return Apollo.useQuery<GetExerciseLoopStatus, GetExerciseLoopStatusVariables>(GetExerciseLoopStatusDocument, options);
      }
export function useGetExerciseLoopStatusLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetExerciseLoopStatus, GetExerciseLoopStatusVariables>) {
          const options = {...defaultOptions, ...baseOptions}
          return Apollo.useLazyQuery<GetExerciseLoopStatus, GetExerciseLoopStatusVariables>(GetExerciseLoopStatusDocument, options);
        }
export function useGetExerciseLoopStatusSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<GetExerciseLoopStatus, GetExerciseLoopStatusVariables>) {
          const options = {...defaultOptions, ...baseOptions}
          return Apollo.useSuspenseQuery<GetExerciseLoopStatus, GetExerciseLoopStatusVariables>(GetExerciseLoopStatusDocument, options);
        }
export type GetExerciseLoopStatusHookResult = ReturnType<typeof useGetExerciseLoopStatus>;
export type GetExerciseLoopStatusLazyQueryHookResult = ReturnType<typeof useGetExerciseLoopStatusLazyQuery>;
export type GetExerciseLoopStatusSuspenseQueryHookResult = ReturnType<typeof useGetExerciseLoopStatusSuspenseQuery>;
export type GetExerciseLoopStatusQueryResult = Apollo.QueryResult<GetExerciseLoopStatus, GetExerciseLoopStatusVariables>;