import type { DropboxAccessor } from '../../accessor/dropbox.ts';
import { FileStat, type PathSpec } from '../../types.ts';
/** What is at `path`, asked by its Dropbox path. Mirrors Python's `stat`. */
export declare function stat(accessor: DropboxAccessor, path: PathSpec): Promise<FileStat>;
/**
 * Every entry under a folder from one recursive `list_folder`, each as `stat`
 * answers it from a listing. Dropbox matches paths without case, so each
 * entry's place comes from its lowercased path and its name from the entry,
 * as a listing of its folder names it. A folder Dropbox refuses to list (a
 * missing path, a file) resolves null, so the walk's readdir reports it.
 * Mirrors Python's `tree`.
 */
export declare function tree(accessor: DropboxAccessor, path: PathSpec): Promise<Map<string, FileStat> | null>;
//# sourceMappingURL=stat.d.ts.map