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


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


export const ExerciseLoopRunningDocument = /*#__PURE__*/ {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"exerciseLoopRunning"},"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"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"exerciseLoopRunning"}}]}}]}}]} as unknown as DocumentNode;

/**
 * __useExerciseLoopRunning__
 *
 * To run a query within a React component, call `useExerciseLoopRunning` and pass it any options that fit your needs.
 * When your component renders, `useExerciseLoopRunning` 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 subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
 *
 * @example
 * const { data, loading, error } = useExerciseLoopRunning({
 *   variables: {
 *      exerciseId: // value for 'exerciseId'
 *   },
 * });
 */
export function useExerciseLoopRunning(baseOptions: Apollo.SubscriptionHookOptions<ExerciseLoopRunning, ExerciseLoopRunningVariables> & ({ variables: ExerciseLoopRunningVariables; skip?: boolean; } | { skip: boolean; }) ) {
        const options = {...defaultOptions, ...baseOptions}
        return Apollo.useSubscription<ExerciseLoopRunning, ExerciseLoopRunningVariables>(ExerciseLoopRunningDocument, options);
      }
export type ExerciseLoopRunningHookResult = ReturnType<typeof useExerciseLoopRunning>;
export type ExerciseLoopRunningSubscriptionResult = Apollo.SubscriptionResult<ExerciseLoopRunning>;