export class Engine { /** * @param {Partial} [options] */ constructor(options?: Partial | undefined); /** @type {EngineOptions} */ options: EngineOptions; events: EventEmitter; docsDir: string; outputDir: string; watchDir: string; _rocketHeaderDefaults: { inputDir: string; longFileHeaderWidth: number; longFileHeaderComment: string; }; /** * @param {Partial} newOptions */ setOptions(newOptions: Partial): void; build({ autoStop }?: { autoStop?: boolean | undefined; }): Promise; clearOutputDir(): Promise; prepare({ clearOutputDir }?: { clearOutputDir?: boolean | undefined; }): Promise; /** * @param {string} targetDir */ copyPublicFilesTo(targetDir: string): Promise; start(options?: {}): Promise; devServer: import("@web/dev-server-core").DevServer | undefined; watcher: Watcher | undefined; /** * @param {object} options * @param {boolean} [options.hard] */ stop({ hard }?: { hard?: boolean | undefined; }): Promise; /** * @param {string} sourceFilePath */ deleteOutputOf(sourceFilePath: string): Promise; /** * @param {string} sourceFilePath */ getOutputFilePath(sourceFilePath: string): string; /** * @param {string} url */ getSourceFilePathFromUrl(url: string): Promise; /** * @param {object} [options] * @param {string} [options.triggerSourceFilePath] * @param {boolean} [options.deleteOtherFiles] */ renderAllOpenedFiles({ deleteOtherFiles, triggerSourceFilePath }?: { triggerSourceFilePath?: string | undefined; deleteOtherFiles?: boolean | undefined; } | undefined): Promise; /** * @param {object} options * @param {string} options.sourceFilePath * @param {import('./file-header/RocketHeader.js').RocketHeader} [options.rocketHeader] * @param {boolean} [options.throwOnError] * @returns {Promise} */ renderFile({ sourceFilePath, rocketHeader, throwOnError }: { sourceFilePath: string; rocketHeader?: RocketHeader | undefined; throwOnError?: boolean | undefined; }): Promise; getVersion(): any; } export type EngineOptions = import('../types/main.js').EngineOptions; export type DevServerPlugin = import('../types/main.js').DevServerPlugin; export type DevServerMiddleware = import('../types/main.js').DevServerMiddleware; import { EventEmitter } from "events"; import { Watcher } from "./Watcher.js"; import { RocketHeader } from "./file-header/RocketHeader.js"; //# sourceMappingURL=Engine.d.ts.map