/** * This Source Code is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Copyright (c) Infonomic Company Limited */ import type { DocumentLifecycleContext } from '../document-lifecycle/context.js'; import type { SingletonSaveResult } from './internals.js'; export interface CopySingletonToLocaleParams { expectedRevision: number; sourceLocale: string; targetLocale: string; overwrite: boolean; } /** Copy localized singleton fields to another locale on the mapped document. */ export declare function copySingletonToLocale(ctx: DocumentLifecycleContext, params: CopySingletonToLocaleParams): Promise;