import * as Types from '../../global/types.generated'; import * as ApolloReactCommon from '@apollo/client'; import * as ApolloReactHooks from '@apollo/client'; export type UpdateLastReadMutationVariables = Types.Exact<{ [key: string]: never; }>; export type UpdateLastReadMutation = { __typename?: 'Mutation'; userUpdateLastReadAt: { __typename?: 'User'; id: string; lastReadAt: any; }; }; export declare const UpdateLastReadDocument: ApolloReactCommon.DocumentNode; export type UpdateLastReadMutationFn = ApolloReactCommon.MutationFunction; /** * __useUpdateLastReadMutation__ * * To run a mutation, you first call `useUpdateLastReadMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpdateLastReadMutation` 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 [updateLastReadMutation, { data, loading, error }] = useUpdateLastReadMutation({ * variables: { * }, * }); */ export declare function useUpdateLastReadMutation(baseOptions?: ApolloReactHooks.MutationHookOptions): ApolloReactCommon.MutationTuple, ApolloReactCommon.DefaultContext, ApolloReactCommon.ApolloCache>; export type UpdateLastReadMutationHookResult = ReturnType; export type UpdateLastReadMutationResult = ApolloReactCommon.MutationResult; export type UpdateLastReadMutationOptions = ApolloReactCommon.BaseMutationOptions;