import { ToolHooksService } from './tool-hooks.service';
import { CreateToolHookDto } from './dto/create-tool-hook.dto';
import { UpdateToolHookDto } from './dto/update-tool-hook.dto';
export declare class ToolHooksController {
    private readonly toolHooksService;
    constructor(toolHooksService: ToolHooksService);
    findAll(): Promise<import("../core-entities").ToolHook[]>;
    listScripts(): Promise<string[]>;
    getTemplate(toolName: string): {
        content: string;
    };
    getSamplePayload(toolName: string, timing: 'before' | 'after'): any;
    testHook(body: {
        script_filename: string;
        payload: any;
    }): Promise<{
        result: any;
        logs: string[];
    }>;
    createScript(body: {
        filename: string;
        content: string;
    }): Promise<void>;
    create(createToolHookDto: CreateToolHookDto): Promise<import("../core-entities").ToolHook>;
    update(id: string, updateToolHookDto: UpdateToolHookDto): Promise<import("../core-entities").ToolHook>;
    remove(id: string): Promise<void>;
}
