import { type IgnoreMatcher } from "./ignore.js"; import type { ResourceType, SpectralManifest } from "./types.js"; export declare const RESOURCE_TYPES: ResourceType[]; export declare const FILE_PATTERNS: Record; export type SkillDiscoveryMode = "spectral" | "agents"; export declare function collectSkillEntries(dir: string, mode: SkillDiscoveryMode, ignoreMatcher?: IgnoreMatcher, rootDir?: string): string[]; export declare function collectAutoSkillEntries(dir: string, mode: SkillDiscoveryMode): string[]; export declare function findGitRepoRoot(startDir: string): string | null; export declare function collectAncestorAgentsSkillDirs(startDir: string): string[]; export declare function collectAutoPromptEntries(dir: string): string[]; export declare function collectAutoThemeEntries(dir: string): string[]; export declare function readSpectralManifestFile(packageJsonPath: string): SpectralManifest | null; export declare function resolveExtensionEntries(dir: string): string[] | null; export declare function collectAutoExtensionEntries(dir: string): string[]; /** * Collect resource files from a directory based on resource type. * Extensions use smart discovery (index.ts in subdirs), others use recursive collection. */ export declare function collectResourceFiles(dir: string, resourceType: ResourceType): string[]; //# sourceMappingURL=discovery.d.ts.map