import type { Directory, SourceFile } from './ts-morph.ts'; /** * Attempts to find a source file in a directory that matches one of the following: * - An index/readme file with a valid extension. * - The directory name with a valid extension. */ export declare function getDirectorySourceFile(directory: Directory, validExtensions: string[]): SourceFile | undefined;