/**
 * Validation result for path operations
 */
export interface PathValidationResult {
    valid: boolean;
    path: string | null;
    error: string | null;
}
/**
 * Options for path validation
 */
export interface ValidatePathOptions {
    baseDir?: string | null;
    mustExist?: boolean;
    allowHome?: boolean;
}
/**
 * Resolve a path, handling ~ for home directory
 * Also handles Windows drive-relative paths (e.g., "D:path" -> "D:\path")
 * @param inputPath - Path to resolve
 * @returns Absolute path
 */
export declare function resolvePath(inputPath: string): string;
/**
 * Validate and sanitize a user-provided path
 * Prevents path traversal attacks and validates path is within allowed boundaries
 * @param inputPath - User-provided path
 * @param options - Validation options
 * @returns Validation result with path or error
 */
export declare function validatePath(inputPath: string, options?: ValidatePathOptions): PathValidationResult;
/**
 * Validate output file path for writing
 * @param outputPath - Output file path
 * @param defaultDir - Default directory if path is relative
 * @returns Validation result with path or error
 */
export declare function validateOutputPath(outputPath: string, defaultDir?: string): PathValidationResult;
/**
 * Get potential template locations
 * @returns Array of existing template directories
 */
export declare function getTemplateLocations(): string[];
/**
 * Find a template file in known locations
 * @param templateName - Name of template file (e.g., 'workflow-dashboard.html')
 * @returns Path to template or null if not found
 */
export declare function findTemplate(templateName: string): string | null;
/**
 * Ensure directory exists, creating if necessary
 * @param dirPath - Directory path to ensure
 */
export declare function ensureDir(dirPath: string): void;
/**
 * Normalize path for display (handle Windows backslashes)
 * @param filePath - Path to normalize
 * @returns Normalized path with forward slashes
 */
export declare function normalizePathForDisplay(filePath: string): string;
/**
 * Get recent project paths
 * @returns Array of recent paths
 */
export declare function getRecentPaths(): string[];
/**
 * Track a project path (add to recent paths)
 * @param projectPath - Path to track
 */
export declare function trackRecentPath(projectPath: string): void;
/**
 * Clear recent paths
 */
export declare function clearRecentPaths(): void;
/**
 * Remove a specific path from recent paths
 * @param pathToRemove - Path to remove
 * @returns True if removed, false if not found
 */
export declare function removeRecentPath(pathToRemove: string): boolean;
//# sourceMappingURL=path-resolver.d.ts.map