import { IsOption } from "./vfsType.js"; import { FileEntry } from "./vfsType.js"; /** * 获取目录下有哪些文件 * @param path * @param option:{filter: [{type: "file", name: ["*.ts"]}],recursive: true // 是否要递归遍历目录,默认是 false} * @returns file string[] */ export declare function ls(path: string, option: IsOption): Promise; /** * 迭代返回文件对象 * @param path * @returns fileSystems */ export declare function list(path: string): AsyncGenerator; /** * 返回文件对象 * @param path * @returns fileSystems */ export declare function getList(path: string): Promise;