import { config, graphOptions } from "./entity"; interface ILocalLogService { logError(output:string); logWarning(output:string); log(output:string); logGood(output:string); logInfo(output:string); logException(output:string); } interface IConvertService{ } interface IGremlinService{ init(); executeAsync(query:string, options:graphOptions):Promise; executeLinesAsync(lines:string, options:graphOptions):Promise; executeFileAsync(file:string, options:graphOptions):Promise; logger:ILocalLogService; setConfig(config:config); processingCommands:boolean; } interface IGremlinClient{ init(); logger:ILocalLogService; executeAsync(query:string, options:graphOptions):Promise; executeLinesAsync(lines:string, options:graphOptions):Promise; executeFileAsync(file:string, options:graphOptions):Promise; processingCommands:boolean; createDiagramFromString(json:string): string; } interface IConfigService{ config:config; } interface IDiagramService{ createDiagramFromString(json:string): string; createDiagramFromObj(obj:any): string; } let tContracts = { ILocalLogService: Symbol("ILocalLogService"), IConfigService: Symbol("IConfigService") , IGremlinClient: Symbol("IGremlinClient"), IGremlinService: Symbol("IGremlinService"), IConvertService : Symbol("IConvertService"), IDiagramService: Symbol("IDiagramService") } export {tContracts, ILocalLogService, IConfigService, IGremlinClient, IGremlinService, IConvertService, IDiagramService};