/// import * as fs from 'fs'; import * as chokidar from 'chokidar'; import type { ExposedPromise } from '../util/createExposedPromise'; import type { SessionOptions, SessionConfiguration } from './types'; export declare class Session { readonly configuration: Readonly; protected watcher?: chokidar.FSWatcher; protected processedFiles: Set; protected initialTask: Array> | null; protected tasks: Set>; constructor(parameters?: SessionOptions); get helperPath(): string; start(): Promise; stop(): Promise; outputHelperScript(): Promise; processCSS(filePath: string): Promise<{ dest: string; code: string; }>; minifyScripts(): Promise; protected waitCurrentTasks(): Promise; protected createExposedPromise(): ExposedPromise; protected startWatcher(): Promise; protected log(...values: Array): void; protected logError(...values: Array): void; protected stopWatcher(): Promise; protected onError(error: Error): void; protected onAdd(file: string, stats?: fs.Stats): Promise; protected onChange(file: string, stats?: fs.Stats): Promise; protected onUnlink(file: string): Promise; }