export interface HookSyncDirs { srcDir?: string; dstDir?: string; } export interface HookSyncOptions extends HookSyncDirs { entrySrcDir?: string; entryDstDir?: string; } /** Parse the @cortex-hook-version stamp from hook source, or null if absent/malformed. */ export declare function parseHookVersion(src: string): string | null; export declare function syncManagedHookScripts(opts?: HookSyncDirs): Promise; export declare function syncManagedHookEntries(opts?: HookSyncDirs): Promise; /** Sync all managed hook assets at startup; script-only directory overrides remain supported. */ export declare function syncManagedHooks(opts?: HookSyncOptions): Promise;