import { QueryBase } from './createQuery'; import sendQuery from './query'; type SendQueryArgs = Omit[0], 'query'>; type BaseArgs = Omit; type Query = (args: Omit[0], 'query'>) => Promise; declare function queryGraph>(args: BaseArgs & { url: string | string[]; query: Q; sendQuery?: Query; }): Promise; declare function queryGraph(args: BaseArgs & { url: string | string[]; query: string; variables?: Record; args?: Record; sendQuery?: Query; }): Promise; export default queryGraph;