import type { FilesystemTools } from '../../execution/FilesystemTools';
import type { string_dirname, string_filename } from '../../types/string_filename';
/**
 * Reads all files in the directory
 *
 * @param path
 * @param isRecursive
 * @returns List of all files in the directory
 *
 * @private internal function of `AgentCollectionInDirectory` and `createPipelineCollectionFromDirectory`
 */
export declare function listAllFiles(path: string_dirname, isRecursive: boolean, fs: FilesystemTools): Promise<Array<string_filename>>;
