import { type HookAction, type HookAsyncConfig, type HookCondition, type HookConfig, type HookOverrideEntry, type HookRunIn, type HookScope, type HookValidationError } from "../types.js"; export declare function createError(filePath: string, code: HookValidationError["code"], message: string, errorPath?: string): HookValidationError; export declare function parseHookDefinition(filePath: string, hookDefinition: unknown, index: number, seenIds: Set): { hook?: HookConfig; override?: HookOverrideEntry; errors: HookValidationError[]; }; export declare function parseScope(filePath: string, scope: unknown, index: number): { scope: HookScope; errors: HookValidationError[]; }; export declare function parseRunIn(filePath: string, runIn: unknown, index: number): { runIn: HookRunIn; errors: HookValidationError[]; }; export declare function parseAsync(filePath: string, async_: unknown, event: unknown, actions: unknown, hookAction: unknown, index: number): { async?: true | HookAsyncConfig; errors: HookValidationError[]; }; export declare function parseConditions(filePath: string, conditions: unknown, event: HookConfig["event"], index: number): { conditions?: HookCondition[]; errors: HookValidationError[]; }; export declare function parseActions(filePath: string, actions: unknown, index: number): { actions: HookAction[]; errors: HookValidationError[]; }; export declare function parseHookId(filePath: string, id: unknown, index: number, seenIds: Set): { id?: string; errors: HookValidationError[]; }; export declare function parseOverrideTarget(filePath: string, override: unknown, disable: unknown, index: number): { targetId?: string; isDisableOverride: boolean; errors: HookValidationError[]; };