import * as Types from '../../global/types.generated'; import * as ApolloReactCommon from '@apollo/client'; import * as ApolloReactHooks from '@apollo/client'; export type NonceGenerateMutationVariables = Types.Exact<{ input: Types.NonceGenerateInput; }>; export type NonceGenerateMutation = { __typename?: 'Mutation'; nonceGenerate: { __typename?: 'Nonce'; nonce: string; }; }; export type UserLoginMutationVariables = Types.Exact<{ input: Types.UserLoginInput; }>; export type UserLoginMutation = { __typename?: 'Mutation'; userLogin: { __typename?: 'UserLoginPayload'; token: string; refreshToken: string; }; }; export declare const NonceGenerateDocument: ApolloReactCommon.DocumentNode; export type NonceGenerateMutationFn = ApolloReactCommon.MutationFunction; /** * __useNonceGenerateMutation__ * * To run a mutation, you first call `useNonceGenerateMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useNonceGenerateMutation` 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 [nonceGenerateMutation, { data, loading, error }] = useNonceGenerateMutation({ * variables: { * input: // value for 'input' * }, * }); */ export declare function useNonceGenerateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions): ApolloReactCommon.MutationTuple, ApolloReactCommon.DefaultContext, ApolloReactCommon.ApolloCache>; export type NonceGenerateMutationHookResult = ReturnType; export type NonceGenerateMutationResult = ApolloReactCommon.MutationResult; export type NonceGenerateMutationOptions = ApolloReactCommon.BaseMutationOptions; export declare const UserLoginDocument: ApolloReactCommon.DocumentNode; export type UserLoginMutationFn = ApolloReactCommon.MutationFunction; /** * __useUserLoginMutation__ * * To run a mutation, you first call `useUserLoginMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUserLoginMutation` 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 [userLoginMutation, { data, loading, error }] = useUserLoginMutation({ * variables: { * input: // value for 'input' * }, * }); */ export declare function useUserLoginMutation(baseOptions?: ApolloReactHooks.MutationHookOptions): ApolloReactCommon.MutationTuple, ApolloReactCommon.DefaultContext, ApolloReactCommon.ApolloCache>; export type UserLoginMutationHookResult = ReturnType; export type UserLoginMutationResult = ApolloReactCommon.MutationResult; export type UserLoginMutationOptions = ApolloReactCommon.BaseMutationOptions;