import { CreateTranslationDTO, TranslationDTO } from "@medusajs/framework/types"; /** * The translations to create. */ export type CreateTranslationsWorkflowInput = { /** * The translations to create. */ translations: CreateTranslationDTO[]; }; export declare const createTranslationsWorkflowId = "create-translations"; /** * This workflow creates one or more translations. It's used by other workflows * like the {@link batchTranslationsWorkflow} workflow. * * You can use this workflow within your own customizations or custom workflows, allowing you * to create translations in your custom flows. * * @since 2.12.3 * @featureFlag translation * * @example * const { result } = await createTranslationsWorkflow(container) * .run({ * input: { * translations: [ * { * reference_id: "prod_123", * reference: "product", * locale: "fr-FR", * translations: { title: "Produit", description: "Description du produit" } * } * ] * } * }) * * @summary * * Create one or more translations. */ export declare const createTranslationsWorkflow: import("@medusajs/framework/workflows-sdk").ReturnWorkflow; //# sourceMappingURL=create-translations.d.ts.map