/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { z } from 'zod'; import { type McpToolContext, type McpToolDeclaration } from './tool-registry'; declare const modernizeInputSchema: z.ZodObject<{ transformations: z.ZodOptional>>; path: z.ZodOptional; workspace: z.ZodOptional; project: z.ZodOptional; }, z.core.$strip>; declare const modernizeOutputSchema: z.ZodObject<{ instructions: z.ZodOptional>; logs: z.ZodOptional>; }, z.core.$strip>; export type ModernizeInput = z.infer; export type ModernizeOutput = z.infer; export declare function runModernization(input: ModernizeInput, context: McpToolContext): Promise<{ content: { type: "text"; text: string; }[]; structuredContent: { instructions: string[]; }; } | { content: { type: "text"; text: string; }[]; structuredContent: { instructions: string[] | undefined; logs: string[]; }; }>; export declare const MODERNIZE_TOOL: McpToolDeclaration; export {};