import { HotPatcher } from "hot-patcher"; import { FileItem, FileTreeNode } from "../util/directoryContents.js"; export interface InternalGetDirectoryContentsOptions { currentFiles?: Array; formTree: boolean; nextPageToken?: string; patcher: HotPatcher; token: string; } export interface PosixPathFileItem extends FileItem { dirPath: string; } export declare function getDirectoryContents(options: InternalGetDirectoryContentsOptions): Promise; export declare function mapDirectoryContents(token: string, patcher: HotPatcher, context: Record, path: string): Promise>;