import { SelectorConfig } from '../types'; /** * Returns the installed package path from node_modules in cwd, or null if not found. */ export declare function installedPackagePath(name: string, cwd?: string): string | null; /** * Enumerate all files in a package directory that match the selector. * Applies DEFAULT_FILE_PATTERNS when `files` is absent; always applies DEFAULT_EXCLUDE_PATTERNS, * appending any custom `exclude` patterns on top. Any default exclusion pattern that appears * exactly as an entry in `files` is removed so the file can be explicitly included. * Binary files always skip contentRegexes check (but are included by glob). * * @returns Array of relative file paths from the package root. */ export declare function enumeratePackageFiles(pkgPath: string, selector: SelectorConfig): Promise; /** * Check whether a relative file path matches the given glob patterns. * Handles negative patterns (prefix !) and positive patterns. */ export declare function matchesFilePatterns(relPath: string, patterns: string[]): boolean; //# sourceMappingURL=package-files.d.ts.map