import type { HookValidationError } from "../types.js"; export declare const MAX_HOOKS_YAML_BYTES: number; export interface ParsedHooksFileEnvelope { readonly imports: string[]; readonly body?: Record; readonly errors: HookValidationError[]; } export declare function parseHooksFileEnvelope(filePath: string, content: string): ParsedHooksFileEnvelope; export declare function parseImportsField(filePath: string, imports: unknown): { imports: string[]; error?: undefined; } | { imports?: undefined; error: HookValidationError; }; export declare function defaultReadFile(filePath: string): string; export declare function formatHookReadError(error: unknown): string; export declare function isRecord(value: unknown): value is Record; export declare function isNonEmptyString(value: unknown): value is string;