/** * Build Image Context Preparation Tool * * Analyzes Dockerfiles and build contexts, returning structured recommendations * and commands for an agent to execute the build. * * This tool does NOT execute Docker builds - it provides context and guidance * for agents to run builds with optimal settings. * * @example * ```typescript * const result = await buildImageContext({ * path: '/path/to/app', * imageName: 'myapp', * tags: ['latest', 'v1.0.0'], * }, context); * * // Agent executes: result.value.nextAction.buildCommand.command * ``` */ import type { ToolContext } from '../../core/context.js'; import { type Result } from '../../types/index.js'; import { type BuildImageParams, type BuildImageResult } from './schema.js'; /** * Build image context preparation handler */ declare function handleBuildImage(params: BuildImageParams, context: ToolContext): Promise>; export declare const buildImageContext: typeof handleBuildImage; declare const _default: import("../../types/index.js").Tool; dockerfile: import("zod").ZodOptional; dockerfilePath: import("zod").ZodOptional; imageName: import("zod").ZodOptional; tags: import("zod").ZodOptional>; buildArgs: import("zod").ZodOptional>; workspacePath: import("zod").ZodOptional; platform: import("zod").ZodDefault>; }, "strip", import("zod").ZodTypeAny, { platform: "linux/amd64" | "linux/arm64" | "linux/arm/v7" | "linux/arm/v6" | "linux/386" | "linux/ppc64le" | "linux/s390x" | "linux/riscv64" | "windows/amd64"; path?: string | undefined; dockerfile?: string | undefined; tags?: string[] | undefined; workspacePath?: string | undefined; dockerfilePath?: string | undefined; imageName?: string | undefined; buildArgs?: Record | undefined; }, { path?: string | undefined; dockerfile?: string | undefined; tags?: string[] | undefined; platform?: "linux/amd64" | "linux/arm64" | "linux/arm/v7" | "linux/arm/v6" | "linux/386" | "linux/ppc64le" | "linux/s390x" | "linux/riscv64" | "windows/amd64" | undefined; workspacePath?: string | undefined; dockerfilePath?: string | undefined; imageName?: string | undefined; buildArgs?: Record | undefined; }>, BuildImageResult>; export default _default; //# sourceMappingURL=tool.d.ts.map