interface FilterOptions { extensions?: string[] } declare class Filter { constructor(inputTree: any, options?: FilterOptions); processString(contents: string, relativePath: string): string; // NB: This function is probably not intended as part of the public API processFile(srcDir: string, destDir: string, relativePath: string): Promise; } export = Filter;