import { Translator } from "@translated/lara"; import type { ServerContext } from "@modelcontextprotocol/server"; import { z } from "zod/v4"; import { textBlockSchema } from "./_schemas.js"; export { textBlockSchema }; /** Lara rejects more (400); the context travels as one of them. */ export declare const MAX_INSTRUCTIONS = 10; export declare const translateOutputSchema: z.ZodObject<{ warnings: z.ZodOptional>; warnings: z.ZodOptional>>; }, z.core.$strip>; }, z.core.$strip>>; items: z.ZodArray; }, z.core.$loose>>; }, z.core.$strip>; export declare const translateSchema: z.ZodObject<{ text: z.ZodPreprocess; }, z.core.$loose>, unknown>>, unknown>; source: z.ZodOptional; target: z.ZodString; context: z.ZodOptional; instructions: z.ZodOptional>; source_hint: z.ZodOptional; adapt_to: z.ZodOptional>; glossaries: z.ZodOptional>; no_trace: z.ZodOptional; priority: z.ZodOptional>; timeout_in_millis: z.ZodOptional; style: z.ZodOptional>; reasoning_effort: z.ZodOptional>; reasoning: z.ZodOptional; content_type: z.ZodOptional>; }, z.core.$strip>; export declare function translateHandler(args: unknown, lara: Translator, mcpContext?: ServerContext): Promise<{ [x: string]: unknown; text: string; translatable?: boolean | undefined; }[] | { items: { [x: string]: unknown; text: string; translatable?: boolean | undefined; }[]; warnings: { reasoning: import("@translated/lara").ReasoningFeedback; }; }>;