/**
 * infrastructure.js — 基础设施类工具 (7)
 *
 * 29. graph_impact_analysis  知识图谱影响分析
 * 30. rebuild_index          向量索引重建
 * 31. query_audit_log        审计日志查询
 * 32. load_skill             加载 Skill 文档
 * 33. create_skill           创建项目级 Skill
 * 34. suggest_skills         推荐创建 Skill
 * 34. bootstrap_knowledge    冷启动知识库
 */
import type { ToolHandlerContext } from './_shared.js';
export declare const graphImpactAnalysis: {
    name: string;
    description: string;
    parameters: {
        type: string;
        properties: {
            recipeId: {
                type: string;
                description: string;
            };
            maxDepth: {
                type: string;
                description: string;
            };
        };
        required: string[];
    };
    handler: (params: {
        recipeId: string;
        maxDepth?: number;
    }, ctx: ToolHandlerContext) => Promise<{
        recipeId: string;
        impactedCount: any;
        impacted: any;
    }>;
};
export declare const rebuildIndex: {
    name: string;
    description: string;
    parameters: {
        type: string;
        properties: {
            force: {
                type: string;
                description: string;
            };
            dryRun: {
                type: string;
                description: string;
            };
        };
    };
    handler: (params: {
        force?: boolean;
        dryRun?: boolean;
    }, ctx: ToolHandlerContext) => Promise<any>;
};
export declare const queryAuditLog: {
    name: string;
    description: string;
    parameters: {
        type: string;
        properties: {
            action: {
                type: string;
                description: string;
            };
            actor: {
                type: string;
                description: string;
            };
            limit: {
                type: string;
                description: string;
            };
        };
    };
    handler: (params: {
        action?: string;
        actor?: string;
        limit?: number;
    }, ctx: ToolHandlerContext) => Promise<any>;
};
export declare const loadSkill: {
    name: string;
    description: string;
    parameters: {
        type: string;
        properties: {
            skillName: {
                type: string;
                description: string;
            };
        };
        required: string[];
    };
    handler: (params: {
        skillName: string;
    }) => Promise<{
        skillName: string;
        source: string;
        content: string;
        error?: undefined;
        availableSkills?: undefined;
    } | {
        error: string;
        availableSkills: unknown[];
        skillName?: undefined;
        source?: undefined;
        content?: undefined;
    }>;
};
export declare const createSkillTool: {
    name: string;
    description: string;
    parameters: {
        type: string;
        properties: {
            name: {
                type: string;
                description: string;
            };
            description: {
                type: string;
                description: string;
            };
            content: {
                type: string;
                description: string;
            };
            overwrite: {
                type: string;
                description: string;
            };
        };
        required: string[];
    };
    handler: (params: {
        name: string;
        description: string;
        content: string;
        overwrite?: boolean;
    }, ctx: ToolHandlerContext) => Promise<any>;
};
export declare const suggestSkills: {
    name: string;
    description: string;
    parameters: {
        type: string;
        properties: {};
        required: never[];
    };
    handler: (_params: Record<string, never>, ctx: ToolHandlerContext) => Promise<{
        suggestions: import("#service/skills/SkillAdvisor.js").SkillSuggestion[];
        existingProjectSkills: unknown[];
        analysisContext: Record<string, unknown>;
        hint: string;
    }>;
};
export declare const bootstrapKnowledgeTool: {
    name: string;
    description: string;
    parameters: {
        type: string;
        properties: {
            maxFiles: {
                type: string;
                description: string;
            };
            skipGuard: {
                type: string;
                description: string;
            };
            contentMaxLines: {
                type: string;
                description: string;
            };
            loadSkills: {
                type: string;
                description: string;
            };
            skipAsyncFill: {
                type: string;
                description: string;
            };
        };
    };
    handler: (params: {
        maxFiles?: number;
        skipGuard?: boolean;
        contentMaxLines?: number;
        loadSkills?: boolean;
        skipAsyncFill?: boolean;
    }, ctx: ToolHandlerContext) => Promise<any>;
};
