export interface WorkspaceContext { workingDirectory: string; hasClayFile: boolean; clayFilePath: string; } /** * Get the workspace context for a given directory */ export declare function getWorkspaceContext(workingDir?: string): WorkspaceContext; /** * Search up the directory tree for a .clay file starting from the given directory. * Returns the directory containing the .clay file, or null if not found. */ export declare function findClayFileUp(startDir: string): string | null; /** * Find the nearest directory containing a .clay file, starting from the given * directory and walking up the tree (like git does with .git). * Throws if no .clay file is found anywhere. */ export declare function requireClayFile(workingDir?: string): WorkspaceContext; /** * Resolve a path relative to the working directory */ export declare function resolvePath(workingDir: string, relativePath: string): string; /** * Validate that a path exists */ export declare function validatePathExists(filePath: string, description: string): void; /** * Ensure a directory exists */ export declare function ensureDirectory(dirPath: string): void; //# sourceMappingURL=workspace-manager.d.ts.map