2015-04-13 12:52:02 -04:00
|
|
|
/// <reference path="../typings/es6-promise/es6-promise.d.ts" />
|
|
|
|
|
2015-04-13 19:22:23 -04:00
|
|
|
interface FilterOptions {
|
|
|
|
extensions?: string[]
|
|
|
|
}
|
2015-04-13 12:52:02 -04:00
|
|
|
|
|
|
|
declare class Filter {
|
2015-04-13 19:22:23 -04:00
|
|
|
constructor(inputTree: any, options?: FilterOptions);
|
2015-04-13 12:52:02 -04:00
|
|
|
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<any>;
|
|
|
|
}
|
|
|
|
|
|
|
|
export = Filter;
|