import type { ExistingPoMergeResult } from "./po-writer.js"; export type ExistingPoMergeSource = { readonly kind: "none"; } | { readonly kind: "defaultOutput"; readonly path: string; } | { readonly kind: "explicitInput"; readonly path: string; }; export interface MergeSourcePlan { readonly language: string; readonly source: ExistingPoMergeSource; } export type MergeSourcePlanningResult = { readonly ok: true; readonly sources: readonly MergeSourcePlan[]; } | { readonly error: string; readonly ok: false; }; export declare function planExistingPoMergeSources(options: { readonly forceTranslate: boolean; readonly inputPoPath?: string; readonly outputFiles: ReadonlyMap; readonly targetLanguages: readonly string[]; }): MergeSourcePlanningResult; export declare function readExistingPoMergeSource(source: ExistingPoMergeSource): Promise<{ readonly data: ExistingPoMergeResult["output"]; } | undefined>;