import type { Tool } from '../core/tools/tool-types.js'; export { readFileTool, writeFileTool, editFileTool, multiEditTool, moveFileTool, listDirectoryTool, } from './file-tools.js'; export { searchFilesTool, searchCodeTool } from './search-tools.js'; export { applyPatchTool } from './patch-tool.js'; export { todoWriteTool } from './todo-tool.js'; export { ToolStateManager } from './tool-helpers.js'; export { harnessTools, runTestsTool, verifyFixTool, summarizeVerificationResult, extractVerificationFailurePreview, } from './harness-tools.js'; export { askUserQuestionTool } from './ask-user-question.js'; export { loadSkillTool, skillhubSearchTool, skillhubInstallTool } from './skill-tools.js'; export declare function oneLine(input: unknown, fallback?: string): string; export declare function stringList(input: unknown): string[]; export declare function normalizeSkillSlug(input: unknown): string | null; export declare function frontmatterListLine(key: string, values: string[]): string[]; export declare function buildSkillMarkdown(input: Record, skillName: string): string | null; /** * Detect whether captured stdout looks like binary data (e.g. `cat /bin/ls`). * runProcess captures as UTF-8, so binary produces U+FFFD replacement chars * and control chars. If >10% of chars are non-printable, treat as binary so * the exec tool returns a safe summary instead of flooding the model's context. * @internal */ export declare function looksBinary(text: string): boolean; export declare const execTool: Tool; export declare const webFetchTool: Tool; declare const bundledBochaKey: string | undefined; /** * The bundled Bocha key (env `BOCHA_API_KEY` first, then the pack-time * `bundled-search-key.json`). Exported so callers that re-register * `web_search` with extra options (e.g. a region) can merge the key in * instead of dropping it — `ToolRegistry.register` overwrites by name, so a * re-registration without the key would silently lose the bundled key that * the builtin tool already loaded. */ export { bundledBochaKey }; export declare const webSearchTool: Tool; export declare const installSkillTool: Tool; export declare const builtinTools: Tool[]; export declare function registerBuiltinTools(agent: { tools: { register: (tool: Tool) => void; }; }): void; //# sourceMappingURL=builtin.d.ts.map