export declare function toPosixPath(p: string): string; export declare function isPattern(s: string): boolean; export declare function isOverridePattern(s: string): boolean; export declare function hasGlobPattern(s: string): boolean; export declare function splitPatterns(entries: string[]): { plain: string[]; patterns: string[]; }; export declare function matchesAnyPattern(filePath: string, patterns: string[], baseDir: string): boolean; export declare function isEnabledByOverrides(filePath: string, patterns: string[], baseDir: string): boolean; export declare function applyPatterns(allPaths: string[], patterns: string[], baseDir: string): Set; export declare function applyAutoloadDisabledPatterns(allPaths: string[], patterns: string[], baseDir: string): Map; /** `applyPatterns` for named resources such as MCP servers: globs match the name, `+`/`-` match it exactly. */ export declare function applyNamePatterns(names: string[], patterns: string[]): Set; /** `applyAutoloadDisabledPatterns` for named resources. */ export declare function applyAutoloadDisabledNamePatterns(names: string[], patterns: string[]): Map; //# sourceMappingURL=package-manager-resource-patterns.d.ts.map