import type { Pack } from './types.js'; /** Reject path traversal / absolute paths in a pack-relative path. */ export declare function assertSafeRelPath(rel: string): void; /** EOL-normalize before hashing/comparing/writing (writes always LF). */ export declare function normalizeEol(s: string): string; /** Load a single pack by name (throws if missing or frontmatter invalid). */ export declare function loadPack(name: string): Pack; /** List every pack dir name under skills/. */ export declare function listPackNames(): string[]; /** Load the full catalog (all packs). */ export declare function loadCatalog(): Pack[]; /** * Legacy content-hash manifest: relPath (pack/relPath) → set of historical * sha256s. Used to adopt-and-upgrade files installed by older wigolo versions * without a receipt. The `_comment` key is ignored. */ export declare function loadLegacyHashes(): Record>; /** Test seam: clear the memoized legacy-hash cache. */ export declare function resetLegacyHashesCache(): void; //# sourceMappingURL=catalog.d.ts.map