import ignore from "ignore";
import { type ResourceType } from "./package-manager-types.ts";
type IgnoreMatcher = ReturnType<typeof ignore>;
type SkillDiscoveryMode = "pi" | "agents";
export declare function collectFiles(dir: string, filePattern: RegExp, skipNodeModules?: boolean, ignoreMatcher?: IgnoreMatcher, rootDir?: string): Promise<string[]>;
export declare function collectAutoSkillEntries(dir: string, mode: SkillDiscoveryMode): Promise<string[]>;
export declare function collectAncestorAgentsSkillDirs(startDir: string): Promise<string[]>;
export declare function collectAutoPromptEntries(dir: string): Promise<string[]>;
export declare function collectAutoThemeEntries(dir: string): Promise<string[]>;
export declare function resolveExtensionEntries(dir: string): Promise<string[] | null>;
export declare function collectAutoExtensionEntries(dir: string): Promise<string[]>;
export declare function collectResourceFiles(dir: string, resourceType: ResourceType): Promise<string[]>;
export declare function isPathUnder(target: string, root: string): boolean;
export {};
//# sourceMappingURL=package-manager-resource-files.d.ts.map