/** * Create a directory inside an existing parent directory. * * Used by the directory picker in the browser/desktop wrapper so users can * scaffold a project folder without leaving the "Select local folder" dialog. * Mirrors `paths-list.ts`: same path resolution (`join` over the trimmed * parent), same error mapping, and no path whitelist — auth lives on the * backend WS relay + team ACL, not on the CLI transport. */ import type { DirectoryEntry } from "./paths-list.js"; export interface CreateDirectoryResult { entry: DirectoryEntry; } /** * Validate a new directory name against the cross-platform rules shared * with the picker UI. Returns a human-readable error message, or `null` * when the name is valid. */ export declare function validateNewDirectoryName(name: string): string | null; /** * Create `parent/name` and return its entry. The parent must already exist * and be a directory; the target must not exist (`EEXIST` surfaces as a * distinguishable "already exists" conflict). */ export declare function handleCreateDirectory(input: Record): Promise; //# sourceMappingURL=paths-mkdir.d.ts.map