export declare const PROJECT_MARKERS: readonly ["package.json", "package-lock.json", "pnpm-lock.yaml", "yarn.lock", "bun.lockb", "Cargo.toml", "go.mod", "pyproject.toml", "requirements.txt", "Pipfile", "composer.json", "Gemfile", "pom.xml", "build.gradle", "build.gradle.kts", "CMakeLists.txt", "Makefile", "mix.exs", "pubspec.yaml", "Package.swift", "deno.json", "deno.jsonc", "tsconfig.json", "index.html", "setup.py", "manage.py", "Cargo.lock", ".git"]; export declare function isBareParentDirectory(path: string): boolean; export declare function detectProjectMarkers(dir: string): string[]; export declare function detectPackageManager(dir: string): "npm" | "pnpm" | "yarn" | "bun" | "pip" | "poetry" | "cargo" | "go" | undefined; export declare function isExistingProjectDir(dir: string): boolean; export declare function discoverImmediateProjectRoots(parent: string, maxEntries?: number): string[]; export interface DirSnapshot { path: string; exists: boolean; isDir: boolean; entryCount: number; entries: string[]; markers: string[]; isProject: boolean; emptyOrMissing: boolean; } export declare function snapshotDir(path: string, maxNames?: number): DirSnapshot; export interface WorkspaceOrientationInput { cwd?: string; destinationHint?: string; candidateProject?: string; extraPaths?: string[]; } export declare function guessProjectFolderName(text: string): string | undefined; export declare function buildWorkspaceOrientation(input: WorkspaceOrientationInput): string; export declare function extractScaffoldTargetName(command: string): string | undefined; export declare function resolveScaffoldTargetPath(command: string, shellCwd?: string): string | undefined; export declare function isScaffoldCancelledOutput(output: string): boolean; export declare function scaffoldLooksMaterialized(targetPath: string | undefined): boolean; export declare function scaffoldTargetConflictMessage(command: string, shellCwd?: string): string | undefined;