import { ILogger } from '../logger'; import { StoreService } from '../store'; import { HotMeshManifest } from '../../types/hotmesh'; import { ProviderClient, ProviderTransaction } from '../../types/provider'; import { StreamService } from '../stream'; /** * The compiler service converts a graph into a executable program. */ declare class CompilerService { store: StoreService | null; stream: StreamService | null; logger: ILogger; constructor(store: StoreService, stream: StreamService, logger: ILogger); /** * verifies and plans the deployment of an app to the DB; the app is not deployed yet * @param path */ plan(mySchemaOrPath: string): Promise; isPath(input: string): boolean; /** * deploys an app to the DB but does NOT activate it. */ deploy(mySchemaOrPath: string): Promise; /** * activates a deployed version of an app; * @param appId * @param appVersion */ activate(appId: string, appVersion: string): Promise; saveAsJSON(originalPath: string, schema: HotMeshManifest): Promise; } export { CompilerService };