13 lines
375 B
TypeScript
13 lines
375 B
TypeScript
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<any>;
|
|
}
|
|
|
|
export = Filter;
|