import { LazyQueryHookOptions, LazyQueryResult, OperationVariables, QueryLazyOptions, QueryResult } from "@apollo/client"; import { DocumentNode } from "graphql"; import { UserLogin, UserLogin_userLogin_result, UserLoginVariables } from "./__generated__/UserLogin"; export * from "./__generated__/UserLogin"; export declare const useUserLogin: ({ query, updateToken, beforeSetToken, }?: { query?: DocumentNode | undefined; updateToken?: boolean | undefined; beforeSetToken?: ((userResult: UserLogin_userLogin_result) => Promise) | undefined; }) => { error: import("@apollo/client").ApolloError | import("./__generated__/UserLogin").UserLogin_userLogin_error | null | undefined; data: import("./__generated__/UserLogin").UserLogin_userLogin | undefined; userLogin: (variables: QUserLoginVariables) => Promise; client: import("@apollo/client").ApolloClient; previousData?: QUserLogin | undefined; loading: boolean; networkStatus: import("@apollo/client").NetworkStatus; called: true; startPolling: (pollInterval: number) => void; stopPolling: () => void; subscribeToMore: (options: import("@apollo/client").SubscribeToMoreOptions) => () => void; updateQuery: (mapFn: (previousQueryResult: QUserLogin, options: Pick, "variables">) => QUserLogin) => void; refetch: (variables?: Partial | undefined) => Promise>; variables: QUserLoginVariables | undefined; fetchMore: ((fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions & import("@apollo/client").FetchMoreOptions) => Promise>) & ((fetchMoreOptions: { query?: DocumentNode | import("@graphql-typed-document-node/core").TypedDocumentNode | undefined; } & import("@apollo/client").FetchMoreQueryOptions & import("@apollo/client").FetchMoreOptions) => Promise>); }; export declare const useLogin: ({ updateToken }?: { updateToken: boolean; }) => (variables: UserLoginVariables) => Promise; declare type LazyQueryTuple = [(options?: QueryLazyOptions) => Promise>, LazyQueryResult]; export declare function useBetterLazyQuery(query: DocumentNode, options?: LazyQueryHookOptions): LazyQueryTuple;