export declare type Options = { ignore: RegExp; array: string[]; rootDir: string; topLevelFoldersThatMayContainFiles: string[]; }; /** * Recursively read directory * @param {string} directory Directory to read * @param {RegExp} filter Filter for the file name, only the name part is considered, not the full path * @param {string} typeOf * @param {object} options * {RegExp} ignore * {string=dir`} rootDir Used to replace the initial path, * only the relative path is left, it's faster than path.relative. * {string[]=topLevelFoldersThatMayContainFiles} topLevelFoldersThatMayContainFiles * @param {string[]=[]} recursion This doesn't have to be provided, it's used for the recursion * @returns Promise array holding all relative paths */ export declare function recursiveFindFilesOfType(directory: string, filter: RegExp, typeOf: string, options: Partial, recursion?: string[]): Promise;