import { Board } from "./boards-service"; export const CoreServicePath = '/services/core-service'; export const CoreService = Symbol('CoreService'); export interface CoreService { compile(options: CoreService.Compile.Options): Promise; upload(options: CoreService.Upload.Options): Promise; } export namespace CoreService { export namespace Upload { export interface Options { readonly uri: string; readonly board: Board; readonly port: string; readonly optimizeForDebug: boolean; } } export namespace Compile { export interface Options { readonly uri: string; readonly board: Board; readonly optimizeForDebug: boolean; } } }