/** * List the contents of an absolute directory path. * * Used by the inline directory picker fallback in the browser/Electron * when a native OS dialog cannot be opened. Returns a sorted list of * entries with enough metadata to render a navigable directory tree. */ export interface DirectoryEntry { name: string; path: string; isDirectory: boolean; } export interface ListDirectoryResult { entries: DirectoryEntry[]; } /** * Sort comparator for directory entries: directories first, then * alphabetically by name (case-insensitive, natural/numeric so `proj2` * sorts before `proj10`). */ export declare function compareEntries(a: Pick, b: Pick): number; /** * Read the directory at `absolutePath` and return its visible entries. * * Dotfiles are excluded — they are rarely intentional project roots and * clutter the picker. Entries are sorted directories-first, then * alphabetically by name (case-insensitive). */ export declare function handleListDirectory(input: Record): Promise; //# sourceMappingURL=paths-list.d.ts.map