export interface HookPackScript { name: string; file: string; targetDir: string; } export interface HookPackLifecycleHook { event: string; matcher: string; type: 'command'; command: string; timeout?: number; statusMessage?: string; } export interface HookPackManifest { name: string; description: string; hooks: string[]; composedFrom?: string[]; version?: string; scripts?: HookPackScript[]; lifecycleHooks?: HookPackLifecycleHook[]; source?: 'built-in' | 'local'; actionLevel?: 'remind' | 'warn' | 'block'; /** If false, pack is hidden from the scaffold picker but still installable via `hooks add-pack`. */ scaffoldDefault?: boolean; } export declare function listPacks(): HookPackManifest[]; export declare function getPack(name: string): { manifest: HookPackManifest; dir: string; } | null; export declare function getInstalledPacks(): string[];