import { z } from "zod"; //#region src/document-translation.d.ts declare const DOCUMENT_TRANSLATION_DISPLAY_MODES: readonly ["direct", "bilingual"]; declare const DocumentTranslationDisplayModeSchema: z.ZodEnum<["direct", "bilingual"]>; type DocumentTranslationDisplayMode = z.infer; declare const TranslationEngineProjectSettingsSchema: z.ZodDefault; selectedGroupId: z.ZodOptional; }, "strip", z.ZodTypeAny, { model?: string | undefined; selectedGroupId?: string | undefined; }, { model?: string | undefined; selectedGroupId?: string | undefined; }>>; localCt2: z.ZodDefault; selectedGroupId: z.ZodOptional; }, "strip", z.ZodTypeAny, { model?: string | undefined; selectedGroupId?: string | undefined; }, { model?: string | undefined; selectedGroupId?: string | undefined; }>>; localLlama: z.ZodDefault; selectedGroupId: z.ZodOptional; }, "strip", z.ZodTypeAny, { model?: string | undefined; selectedGroupId?: string | undefined; }, { model?: string | undefined; selectedGroupId?: string | undefined; }>>; openai: z.ZodDefault; }, "strip", z.ZodTypeAny, { model?: string | undefined; }, { model?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { local: { model?: string | undefined; selectedGroupId?: string | undefined; }; localCt2: { model?: string | undefined; selectedGroupId?: string | undefined; }; localLlama: { model?: string | undefined; selectedGroupId?: string | undefined; }; openai: { model?: string | undefined; }; }, { local?: { model?: string | undefined; selectedGroupId?: string | undefined; } | undefined; localCt2?: { model?: string | undefined; selectedGroupId?: string | undefined; } | undefined; localLlama?: { model?: string | undefined; selectedGroupId?: string | undefined; } | undefined; openai?: { model?: string | undefined; } | undefined; }>>; declare const TranslationEngineProjectSettingsUpdateSchema: z.ZodObject<{ local: z.ZodOptional; selectedGroupId: z.ZodOptional>; }, "strip", z.ZodTypeAny, { model?: string | undefined; selectedGroupId?: string | null | undefined; }, { model?: string | undefined; selectedGroupId?: string | null | undefined; }>>; localCt2: z.ZodOptional; selectedGroupId: z.ZodOptional>; }, "strip", z.ZodTypeAny, { model?: string | undefined; selectedGroupId?: string | null | undefined; }, { model?: string | undefined; selectedGroupId?: string | null | undefined; }>>; localLlama: z.ZodOptional; selectedGroupId: z.ZodOptional>; }, "strip", z.ZodTypeAny, { model?: string | undefined; selectedGroupId?: string | null | undefined; }, { model?: string | undefined; selectedGroupId?: string | null | undefined; }>>; openai: z.ZodOptional; }, "strip", z.ZodTypeAny, { model?: string | undefined; }, { model?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { local?: { model?: string | undefined; selectedGroupId?: string | null | undefined; } | undefined; localCt2?: { model?: string | undefined; selectedGroupId?: string | null | undefined; } | undefined; localLlama?: { model?: string | undefined; selectedGroupId?: string | null | undefined; } | undefined; openai?: { model?: string | undefined; } | undefined; }, { local?: { model?: string | undefined; selectedGroupId?: string | null | undefined; } | undefined; localCt2?: { model?: string | undefined; selectedGroupId?: string | null | undefined; } | undefined; localLlama?: { model?: string | undefined; selectedGroupId?: string | null | undefined; } | undefined; openai?: { model?: string | undefined; } | undefined; }>; declare const DocumentTranslationConfigSchema: z.ZodObject<{ enabled: z.ZodDefault; targetLanguage: z.ZodDefault; displayMode: z.ZodDefault>; cacheEnabled: z.ZodDefault; engineId: z.ZodDefault>; engines: z.ZodDefault; selectedGroupId: z.ZodOptional; }, "strip", z.ZodTypeAny, { model?: string | undefined; selectedGroupId?: string | undefined; }, { model?: string | undefined; selectedGroupId?: string | undefined; }>>; localCt2: z.ZodDefault; selectedGroupId: z.ZodOptional; }, "strip", z.ZodTypeAny, { model?: string | undefined; selectedGroupId?: string | undefined; }, { model?: string | undefined; selectedGroupId?: string | undefined; }>>; localLlama: z.ZodDefault; selectedGroupId: z.ZodOptional; }, "strip", z.ZodTypeAny, { model?: string | undefined; selectedGroupId?: string | undefined; }, { model?: string | undefined; selectedGroupId?: string | undefined; }>>; openai: z.ZodDefault; }, "strip", z.ZodTypeAny, { model?: string | undefined; }, { model?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { local: { model?: string | undefined; selectedGroupId?: string | undefined; }; localCt2: { model?: string | undefined; selectedGroupId?: string | undefined; }; localLlama: { model?: string | undefined; selectedGroupId?: string | undefined; }; openai: { model?: string | undefined; }; }, { local?: { model?: string | undefined; selectedGroupId?: string | undefined; } | undefined; localCt2?: { model?: string | undefined; selectedGroupId?: string | undefined; } | undefined; localLlama?: { model?: string | undefined; selectedGroupId?: string | undefined; } | undefined; openai?: { model?: string | undefined; } | undefined; }>>; }, "strip", z.ZodTypeAny, { enabled: boolean; targetLanguage: string; displayMode: "direct" | "bilingual"; cacheEnabled: boolean; engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama"; engines: { local: { model?: string | undefined; selectedGroupId?: string | undefined; }; localCt2: { model?: string | undefined; selectedGroupId?: string | undefined; }; localLlama: { model?: string | undefined; selectedGroupId?: string | undefined; }; openai: { model?: string | undefined; }; }; }, { enabled?: boolean | undefined; targetLanguage?: string | undefined; displayMode?: "direct" | "bilingual" | undefined; cacheEnabled?: boolean | undefined; engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined; engines?: { local?: { model?: string | undefined; selectedGroupId?: string | undefined; } | undefined; localCt2?: { model?: string | undefined; selectedGroupId?: string | undefined; } | undefined; localLlama?: { model?: string | undefined; selectedGroupId?: string | undefined; } | undefined; openai?: { model?: string | undefined; } | undefined; } | undefined; }>; declare const DocumentTranslationConfigUpdateSchema: z.ZodObject<{ enabled: z.ZodOptional; targetLanguage: z.ZodOptional; displayMode: z.ZodOptional>; cacheEnabled: z.ZodOptional; engineId: z.ZodOptional>; engines: z.ZodOptional; selectedGroupId: z.ZodOptional>; }, "strip", z.ZodTypeAny, { model?: string | undefined; selectedGroupId?: string | null | undefined; }, { model?: string | undefined; selectedGroupId?: string | null | undefined; }>>; localCt2: z.ZodOptional; selectedGroupId: z.ZodOptional>; }, "strip", z.ZodTypeAny, { model?: string | undefined; selectedGroupId?: string | null | undefined; }, { model?: string | undefined; selectedGroupId?: string | null | undefined; }>>; localLlama: z.ZodOptional; selectedGroupId: z.ZodOptional>; }, "strip", z.ZodTypeAny, { model?: string | undefined; selectedGroupId?: string | null | undefined; }, { model?: string | undefined; selectedGroupId?: string | null | undefined; }>>; openai: z.ZodOptional; }, "strip", z.ZodTypeAny, { model?: string | undefined; }, { model?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { local?: { model?: string | undefined; selectedGroupId?: string | null | undefined; } | undefined; localCt2?: { model?: string | undefined; selectedGroupId?: string | null | undefined; } | undefined; localLlama?: { model?: string | undefined; selectedGroupId?: string | null | undefined; } | undefined; openai?: { model?: string | undefined; } | undefined; }, { local?: { model?: string | undefined; selectedGroupId?: string | null | undefined; } | undefined; localCt2?: { model?: string | undefined; selectedGroupId?: string | null | undefined; } | undefined; localLlama?: { model?: string | undefined; selectedGroupId?: string | null | undefined; } | undefined; openai?: { model?: string | undefined; } | undefined; }>>; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; targetLanguage?: string | undefined; displayMode?: "direct" | "bilingual" | undefined; cacheEnabled?: boolean | undefined; engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined; engines?: { local?: { model?: string | undefined; selectedGroupId?: string | null | undefined; } | undefined; localCt2?: { model?: string | undefined; selectedGroupId?: string | null | undefined; } | undefined; localLlama?: { model?: string | undefined; selectedGroupId?: string | null | undefined; } | undefined; openai?: { model?: string | undefined; } | undefined; } | undefined; }, { enabled?: boolean | undefined; targetLanguage?: string | undefined; displayMode?: "direct" | "bilingual" | undefined; cacheEnabled?: boolean | undefined; engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined; engines?: { local?: { model?: string | undefined; selectedGroupId?: string | null | undefined; } | undefined; localCt2?: { model?: string | undefined; selectedGroupId?: string | null | undefined; } | undefined; localLlama?: { model?: string | undefined; selectedGroupId?: string | null | undefined; } | undefined; openai?: { model?: string | undefined; } | undefined; } | undefined; }>; type DocumentTranslationConfig = z.infer; type DocumentTranslationConfigInput = z.input; type TranslationEngineProjectSettings = z.infer; type TranslationEngineProjectSettingsUpdate = { local?: Partial> & { selectedGroupId?: TranslationEngineProjectSettings['local']['selectedGroupId'] | null; }; localCt2?: Partial> & { selectedGroupId?: TranslationEngineProjectSettings['localCt2']['selectedGroupId'] | null; }; localLlama?: Partial> & { selectedGroupId?: TranslationEngineProjectSettings['localLlama']['selectedGroupId'] | null; }; openai?: Partial; }; type DocumentTranslationConfigUpdate = Partial> & { engines?: TranslationEngineProjectSettingsUpdate; }; declare const DEFAULT_TRANSLATION_CACHE_ENTRY_LIMIT = 10000; declare const MIN_TRANSLATION_CACHE_ENTRY_LIMIT = 100; declare const MAX_TRANSLATION_CACHE_ENTRY_LIMIT = 200000; declare const TRANSLATION_CACHE_POLICY_VERSION = 2; declare const TranslationCacheSettingsSchema: z.ZodObject<{ entryLimit: z.ZodDefault; }, "strip", z.ZodTypeAny, { entryLimit: number; }, { entryLimit?: number | undefined; }>; declare const TranslationCacheSettingsUpdateSchema: z.ZodObject<{ entryLimit: z.ZodOptional; }, "strip", z.ZodTypeAny, { entryLimit?: number | undefined; }, { entryLimit?: number | undefined; }>; type TranslationCacheSettings = z.infer; declare const TranslationCacheEntrySchema: z.ZodObject<{ key: z.ZodString; keyHash: z.ZodString; sourceText: z.ZodString; translatedText: z.ZodString; targetNodesJson: z.ZodOptional; sourceLanguage: z.ZodString; targetLanguage: z.ZodString; placeholderTopologyHash: z.ZodString; attributeTopologyHash: z.ZodString; displayPolicyVersion: z.ZodNumber; engineId: z.ZodDefault>; engineVersion: z.ZodOptional; model: z.ZodOptional; translatorContractVersion: z.ZodDefault; createdAt: z.ZodNumber; lastAccessedAt: z.ZodNumber; }, "strip", z.ZodTypeAny, { targetLanguage: string; engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama"; key: string; keyHash: string; sourceText: string; translatedText: string; sourceLanguage: string; placeholderTopologyHash: string; attributeTopologyHash: string; displayPolicyVersion: number; translatorContractVersion: number; createdAt: number; lastAccessedAt: number; model?: string | undefined; targetNodesJson?: string | undefined; engineVersion?: string | undefined; }, { targetLanguage: string; key: string; keyHash: string; sourceText: string; translatedText: string; sourceLanguage: string; placeholderTopologyHash: string; attributeTopologyHash: string; displayPolicyVersion: number; createdAt: number; lastAccessedAt: number; model?: string | undefined; engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined; targetNodesJson?: string | undefined; engineVersion?: string | undefined; translatorContractVersion?: number | undefined; }>; type TranslationCacheEntry = z.infer; declare const TranslationCacheWriteInputSchema: z.ZodObject; sourceLanguage: z.ZodString; targetLanguage: z.ZodString; placeholderTopologyHash: z.ZodString; attributeTopologyHash: z.ZodString; displayPolicyVersion: z.ZodNumber; engineId: z.ZodDefault>; engineVersion: z.ZodOptional; model: z.ZodOptional; translatorContractVersion: z.ZodDefault; createdAt: z.ZodNumber; lastAccessedAt: z.ZodNumber; }, "createdAt" | "lastAccessedAt">, "strip", z.ZodTypeAny, { targetLanguage: string; engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama"; key: string; keyHash: string; sourceText: string; translatedText: string; sourceLanguage: string; placeholderTopologyHash: string; attributeTopologyHash: string; displayPolicyVersion: number; translatorContractVersion: number; model?: string | undefined; targetNodesJson?: string | undefined; engineVersion?: string | undefined; }, { targetLanguage: string; key: string; keyHash: string; sourceText: string; translatedText: string; sourceLanguage: string; placeholderTopologyHash: string; attributeTopologyHash: string; displayPolicyVersion: number; model?: string | undefined; engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined; targetNodesJson?: string | undefined; engineVersion?: string | undefined; translatorContractVersion?: number | undefined; }>; type TranslationCacheWriteInput = z.infer; declare const TranslationCacheReadInputSchema: z.ZodObject<{ keyHash: z.ZodString; }, "strip", z.ZodTypeAny, { keyHash: string; }, { keyHash: string; }>; type TranslationCacheReadInput = z.infer; declare const TranslationCacheStatsSchema: z.ZodObject<{ enabled: z.ZodBoolean; entryLimit: z.ZodNumber; entries: z.ZodNumber; databasePath: z.ZodOptional; }, "strip", z.ZodTypeAny, { entries: number; enabled: boolean; entryLimit: number; databasePath?: string | undefined; }, { entries: number; enabled: boolean; entryLimit: number; databasePath?: string | undefined; }>; type TranslationCacheStats = z.infer; //#endregion export { TranslationCacheWriteInputSchema as C, TranslationEngineProjectSettingsUpdateSchema as D, TranslationEngineProjectSettingsUpdate as E, TranslationCacheWriteInput as S, TranslationEngineProjectSettingsSchema as T, TranslationCacheSettings as _, DocumentTranslationConfigSchema as a, TranslationCacheStats as b, DocumentTranslationDisplayMode as c, MIN_TRANSLATION_CACHE_ENTRY_LIMIT as d, TRANSLATION_CACHE_POLICY_VERSION as f, TranslationCacheReadInputSchema as g, TranslationCacheReadInput as h, DocumentTranslationConfigInput as i, DocumentTranslationDisplayModeSchema as l, TranslationCacheEntrySchema as m, DOCUMENT_TRANSLATION_DISPLAY_MODES as n, DocumentTranslationConfigUpdate as o, TranslationCacheEntry as p, DocumentTranslationConfig as r, DocumentTranslationConfigUpdateSchema as s, DEFAULT_TRANSLATION_CACHE_ENTRY_LIMIT as t, MAX_TRANSLATION_CACHE_ENTRY_LIMIT as u, TranslationCacheSettingsSchema as v, TranslationEngineProjectSettings as w, TranslationCacheStatsSchema as x, TranslationCacheSettingsUpdateSchema as y };