import * as models from './models'; export * from './incremental-watcher'; export * from './compiler-manager.backend'; export * from './base-client-compiler.backend'; export * from './change-of-file.backend'; export * from './constants'; import * as incBase from './base-client-compiler.backend'; import * as change from './change-of-file.backend'; import * as deco from './decorators.backend'; /** * Template for watcher client: * * import { IncCompiler } from 'firedev' * * IncCompiler.init( asyncChangeOfFile => { * * }) * * @IncCompiler.Class({ className: 'TestWatcher' }) * export class TestWatcher extends IncCompiler.Base { * * syncAction(files = []) { } * preAsyncAction() { } * asyncAction(change: IncCompiler.Change, additionalData:any ) { } * } */ export declare namespace IncCompiler { export import Models = models.Models; /** * 1. Only one task at the time * 2. Only files changes not directories * @deprecated */ function allClients(clientNameOrClass?: string | Function, condition?: (c: T) => boolean): Base[] | T[]; export import Base = incBase.BaseClientCompiler; export import Class = deco.IncCompilerClass; namespace methods { export import AsyncAction = deco.AsyncAction; } export import Change = change.ChangeOfFile; function getInstance(compilerClassName: string): CLASS_TYPE; }