import type { FsHookConfig, FsHooksConfig, FsHookTriggerEvent, FsHookResult } from '../../types/index.js';
/**
 * Returns the default hooks configuration (disabled with no hooks).
 */
export declare function getDefaultHooksConfig(): FsHooksConfig;
/**
 * Loads the hooks configuration from `.planu/hooks.json` in the given project path.
 * Returns the default config if the file does not exist.
 */
export declare function loadHooksConfig(projectPath: string): Promise<FsHooksConfig>;
/**
 * Saves the hooks configuration to `.planu/hooks.json` in the given project path.
 * Creates the `.planu` directory if it does not exist.
 */
export declare function saveHooksConfig(projectPath: string, config: FsHooksConfig): Promise<void>;
/**
 * Returns true if `filePath` matches the given glob `pattern`.
 * Supports `**` and `*` wildcards.
 */
export declare function matchesPattern(filePath: string, pattern: string): boolean;
/**
 * Builds a trigger event for a filesystem hook match.
 */
export declare function buildTriggerEvent(event: FsHookConfig['event'], filePath: string, hook: FsHookConfig): FsHookTriggerEvent;
/**
 * Finds all hooks in `config` that match the given event and file path,
 * and returns the result with triggered events.
 * Does NOT call any tools — pure logic only.
 */
export declare function processFileEvent(event: 'on_save' | 'on_create' | 'on_delete', filePath: string, config: FsHooksConfig): FsHookResult;
//# sourceMappingURL=index.d.ts.map