import * as graphql from "graphql"; import { Connection } from "jsforce"; import { Definition, Operator } from "./define"; export { Definition, Operator }; export interface Runtime { /** * Asynchronously executes the given GraphQL source string against your Salesforce instance. * Returns a `Promise` that resolves with the execution result of GraphQL `source` string. * * @param connection - A jsforce connection instance to interact with Salesforce. * @param source - The GraphQL source string to execute. */ (connection: Connection, source: string): Promise; /** * Executes a synchronous introspection query against the schema. */ introspectionFromSchema(): graphql.IntrospectionQuery; /** * Returns a pretty-printed GraphQL schema source string. */ printSchema(): string; } /** * Creates an instance of the glide runtime. */ export default function createRuntime(definition: Definition<"Schema">): Runtime;