import { Logger } from '@stencila/logga'; import * as schema from '@stencila/schema'; import { Client } from '../base/Client'; import { Executor } from '../base/Executor'; /** * A read-evaluate-print-loop interface * * Used by `query` and `execute` commands when * in interactive mode. Outputs the the result of queries * or executions inf alternative formats, to * file, or to the console with syntax highlighting. * * @param tag Tag used to identify this EPL (for history etc) * @param document The active document * @param executor The executor to do the evaluation * @param logger The logger to send log events to * @param evaluate The function to evaluate * @param options Starting values for options * @param options.dest The destination for query results * @param options.format The format for query results * @param options.lang The language for queries */ export declare function repl(tag: string, document: schema.Node, executor: Executor, log: Logger, evaluate: (client: Client, job: string, doc: schema.Node, line: string, lang: string) => Promise, help: string, options: { dest?: string; format?: string; lang: string; debug?: boolean; }): Promise;