import type { RuntimePolicy } from "../../shared/types.js"; import type { HivemindLifecycleManager } from "../../task-management/lifecycle/index.js"; import type { HivemindConfigs } from "../../schema-kernel/hivemind-configs.schema.js"; import type { TaskStateManager } from "../../shared/state.js"; export interface ToolGuardDependencies { stateManager: TaskStateManager; lifecycleManager?: HivemindLifecycleManager; runtimePolicy?: RuntimePolicy; hivemindConfig?: HivemindConfigs; /** Project root directory for session-tracker file resolution. */ projectRoot?: string; } type BeforeInput = Record; type BeforeOutput = Record; type AfterInput = Record; type AfterOutput = { metadata?: unknown; [key: string]: unknown; }; export interface ToolGuardHooks { "tool.execute.before": (input: BeforeInput, output: BeforeOutput) => Promise; "tool.execute.after": (input: AfterInput, output: AfterOutput) => Promise; } /** * Creates the tool guard hooks using the provided dependency bundle. */ export declare function createToolGuardHooks(deps: ToolGuardDependencies): ToolGuardHooks; export {}; //# sourceMappingURL=tool-guard-hooks.d.ts.map