import { Observable } from 'rxjs/Observable'; import { Database } from './db'; import { Net } from './Net'; import { SDKFetch } from './SDKFetch'; import * as socket from './sockets'; import { schemaColl } from './schemas'; import { SchemaColl, Variables, GraphQLRequest, GraphQLQuery, GraphQLVariables, GraphQLResult } from './utils/internalTypes'; import { SDKAsyncJob } from './SDKAsyncJob'; export declare const schemas: SchemaColl; export { schemaColl }; export { CacheStrategy } from './Net'; export declare class SDK { private schemas; private graphQLClientOption; net: Net; fetch: SDKFetch; asyncJob: SDKAsyncJob; socketClient: socket.Client; database: Database | undefined; socketProxy: socket.Proxy; lift: typeof Net.prototype.lift; constructor(); initReactiveDB(db: Database): Observable; setGraphQLEndpoint(endpoint: string, requestOptions?: GraphQLRequest): void; graph(query: Q, variables: GraphQLVariables, withHeaders: true): Observable & { headers: Headers; }>; graph(query: Q, variables: GraphQLVariables, withHeaders: false): Observable>; graph(query: Q, variables: GraphQLVariables): Observable>; graph(query: Q): Observable>; }