import { Ignore } from 'ignore'; /** * Searches for files in a directory recursively. * * @param {string} directory - The directory path to search in. * @param {Ignore|null} gitignore - The gitignore object to check if a file is ignored. Default is null. * @yields {Object} - An object containing the file content and file path. */ export declare function SearchFileInDirectory(directory: string, gitignore?: Ignore | null): Generator<{ content: string; filePath: string; }>;