UNPKG

380 BTypeScriptView Raw
1import { LoginResponse } from '../types';
2declare const useLoginMutation: () => {
3 loginMutation: (options?: import("react-apollo").MutationFunctionOptions<{
4 login: LoginResponse;
5 }, {
6 email: string;
7 password: string;
8 }>) => Promise<import("react-apollo").ExecutionResult<{
9 login: LoginResponse;
10 }>>;
11};
12export { useLoginMutation };