import { FileStat, PathSpec } from '../../../types.ts'; import type { CommandFnResult, CommandOpts } from '../../config.ts'; type Readdir = (p: PathSpec) => Promise; type Stat = (p: PathSpec) => Promise; export declare const LS_OK = 0; export declare const LS_MINOR_PROBLEM = 1; export declare const LS_FAILURE = 2; interface LsWarning { message: string; serious: boolean; } export declare function exitStatusFor(warnings: readonly LsWarning[]): number; export declare function lsGeneric(paths: PathSpec[], opts: CommandOpts, readdir: Readdir, stat: Stat): Promise; export {}; //# sourceMappingURL=ls.d.ts.map