import { Stats } from 'fs'; interface RegistrySource { path: string; valueName: string; } declare enum PathSourceType { COMMON = "common", REGISTRY = "registry", USER_HOME = "user_home", SYSTEM = "system" } interface PathSource { source: string; [key: string]: any; } type PathStats = Pick; interface PathMetadata { contents?: string[]; hasICloudMarkers?: boolean; hasStandardDirs?: boolean; isStandardPath?: boolean; permissions?: string; isInHome?: boolean; source?: PathSource; sources?: PathSource[]; stats?: PathStats; appId?: string; appName?: string; bundleId?: string; vendor?: string; [key: string]: any; } interface PathInfo { path: string; score: number; exists: boolean; isAccessible: boolean; metadata: PathMetadata; } interface SearchOptions { appName?: string; includeInaccessible?: boolean; minScore?: number; } interface SearchResult { success: boolean; platform: string; paths: PathInfo[]; error?: string; } export { type PathInfo, type PathMetadata, type PathSource, PathSourceType, type PathStats, type RegistrySource, type SearchOptions, type SearchResult };