import type { OneDriveAccessor } from '../../accessor/onedrive.ts';
import { FileStat, type PathSpec } from '../../types.ts';
export declare function stat(accessor: OneDriveAccessor, path: PathSpec): Promise<FileStat>;
/**
 * Every item under a folder, each as a listing's stat renders it.
 *
 * A personal drive answers from one read of Graph's `/delta` feed
 * (`deltaTree`): it starts the feed at any folder and carries each file's
 * `cTag`, the token its listing row holds. OneDrive for Business starts the
 * feed only at the drive root and leaves the `cTag` out, so its folders'
 * listings go out batched instead (`batchTree`), as they do for a feed that
 * does not answer and for a drive that will not say which kind it is. Which
 * kind the drive is, Graph's `driveType`, is asked once per mount. Mirrors
 * Python's `tree`.
 */
export declare function tree(accessor: OneDriveAccessor, path: PathSpec, limit?: number): Promise<Map<string, FileStat> | null>;
//# sourceMappingURL=stat.d.ts.map