import { type HookConfig, type HookMap, type HookOverrideEntry, type HookPolicy, type HookValidationError, type ParsedHooksFile } from "../types.js"; export declare function setActiveHookPolicy(policy: HookPolicy | undefined): void; export declare function getActiveHookPolicy(): HookPolicy; export type ParsedHooksFileResult = ParsedHooksFile & { readonly files: string[]; }; export interface ParseHooksOptions { readonly policy?: HookPolicy; } export declare function parseHooksFile(filePath: string, content: string, options?: ParseHooksOptions): ParsedHooksFileResult; export declare function parseHooksObject(filePath: string, parsed: Record, policy?: HookPolicy): ParsedHooksFileResult; export declare function loadHooksFile(filePath: string, readFile?: (filePath: string) => string): ParsedHooksFileResult; export declare function mergeHookMaps(...hookMaps: HookMap[]): HookMap; export declare function mergeHookMapsInto(target: HookMap, source: HookMap): void; export declare function resolveOverrides(hooks: HookMap, overrides: HookOverrideEntry[]): { hooks: HookMap; errors: HookValidationError[]; }; export declare function dedupeValidationErrors(errors: readonly HookValidationError[]): HookValidationError[]; export declare function validateAsyncQueueConfigs(hooks: HookMap): HookValidationError[]; export declare function flattenHookMap(hooks: HookMap): HookConfig[]; export declare function countHookConfigs(hooks: HookMap): number;