import type { OperationVariables } from '@apollo/client/core'; import type { DocumentNode } from 'graphql'; import type { DocumentParameter, OptionsParameter, UseQueryOptions, UseQueryReturn, VariablesParameter } from './useQuery'; export interface UseLazyQueryReturn extends UseQueryReturn { /** * Activate the query and starts loading. * @param document Override document * @param variables Override variables * @param options Override options * @returns Returns false if the query is already active, otherwise the next result of the query. */ load: (document?: DocumentNode | null, variables?: TVariables | null, options?: UseQueryOptions | null) => false | Promise; } export declare function useLazyQuery = any>(document: DocumentParameter, variables?: VariablesParameter, options?: OptionsParameter): UseLazyQueryReturn;