import type { DatabricksVolumeAccessor } from '../../accessor/databricks_volume.ts';
import { DirListing, FileStat, type PathSpec } from '../../types.ts';
/**
 * A folder's rows, as the Files API lists them; past a walk's `limit` the
 * API is paged no further, and the listing is partial. Mirrors Python's
 * `readdir`.
 *
 * Throws:
 *   FileNotFoundError: nothing is at the path.
 *   NotADirectoryError: the path, or a folder above it, is a file.
 */
export declare function readdir(accessor: DatabricksVolumeAccessor, path: PathSpec, limit?: number): Promise<FileStat[] | DirListing>;
//# sourceMappingURL=readdir.d.ts.map