import type { Core } from '@strapi/strapi'; export * from './controllers'; export type CoreStrapi = Omit & { plugin: (pluginName: string) => Omit & { contentTypes: Record; }; }; export type StrapiContext = { readonly strapi: CoreStrapi; }; export interface TranslationResponse { data: Record; meta: { ok: boolean; status: number; message?: string; }; } export interface TranslationConfig { targetLanguage: string; } export interface LLMServiceType { generateWithLLM(contentType: Record, fields: Record, components: Record, config: TranslationConfig): Promise>; } export interface GenerateRequestBody { contentType: string; fields: any; components: any; targetLanguage: string; } export interface TranslatableField { path: string[]; value: any; originalPath: string[]; } export interface UIDField { fieldName: string; targetField: string; } export interface LLMConfigType { llmEndpoint: string; llmApiKey: string; llmModel: string; }