import type { ITransformer } from "./ITransformer.js"; /** * Removes comments and whitespace from a PHP script, by calling a Web service. */ export declare class FastTransformer implements ITransformer { #private; /** * Creates a new fast transformer. * @param executable The path to the PHP executable. */ constructor(executable?: string); /** * Releases any resources associated with this object. * @returns Resolves when this object is finally disposed. */ [Symbol.asyncDispose](): Promise; /** * Releases any resources associated with this object. * @returns Resolves when this object has been disposed. */ dispose(): Promise; /** * Starts the underlying PHP process and begins accepting connections. * @returns The TCP port used by the PHP process. */ listen(): Promise; /** * Processes a PHP script. * @param file The path to the PHP script. * @returns The transformed script. * @throws `Error` when an error occurred while processing the script. */ transform(file: string): Promise; } //# sourceMappingURL=FastTransformer.d.ts.map