import { RunningQuery } from './query'; import { QueryTree } from '../query-tree/query-tree'; import { GraphQLSchema, OperationDefinitionNode } from 'graphql'; import * as rgraphql from 'rgraphql'; export declare class SoyuzClient { readonly schema: GraphQLSchema; private sendMsg; private queryTree; private resultTree; private queries; private queryID; private resultID; constructor(schema: GraphQLSchema, sendMsg: (msg: rgraphql.RGQLClientMessage) => void); buildQuery(ast: OperationDefinitionNode, variables?: { [key: string]: any; } | null): RunningQuery; parseQuery(source: string, variables?: { [key: string]: any; } | null): RunningQuery; getQueryTree(): QueryTree; handleMessages(msgs: rgraphql.RGQLServerMessage[]): void; private handleTreeMutation; private disposeQuery; dispose(): void; }