import { ToolResult } from './handler.interface.js'; import type { RunContext } from './run-context.interface.js'; export interface ToolExecutionContext { tool: object; args: Record | undefined; runContext: RunContext; metadata: Record; } export interface ToolInterceptor { intercept(context: ToolExecutionContext, next: () => Promise): Promise; } export declare const TOOL_INTERCEPTOR_METADATA_KEY = "loopstack:tool-interceptor"; export declare function UseToolInterceptor(options?: { priority?: number; }): ClassDecorator; export type ToolExecutionInterceptor = ToolInterceptor; export declare const TOOL_INTERCEPTORS = "TOOL_INTERCEPTORS"; export declare const TOOL_EXECUTION_INTERCEPTORS = "TOOL_INTERCEPTORS"; //# sourceMappingURL=tool-execution-interceptor.interface.d.ts.map