/** * Returns array of filenames from provided directory asynchronously. * @param path The path to return the files of * @param regex The regex to filter files by (optional) * @returns The array of files */ export declare function ls(path: string, regex?: RegExp): Promise; /** * Returns array of filenames from provided directory. * @param path The path to return the files of * @param regex The regex to filter files by (optional) * @returns The array of files */ export declare function lsSync(path: string, regex?: RegExp): string[]; //# sourceMappingURL=ls.d.ts.map