import type { FilesystemTools } from '../../execution/FilesystemTools';
import type { string_dirname, string_filename } from '../../types/typeAliases';
/**
 * 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>>;
/**
 * TODO: [😶] Unite folder listing
 * Note: Not [~🟢~] because it is not directly dependent on `fs
 * TODO: [🖇] What about symlinks?
 */
