import { type Locale } from './locale.ts'; /** * Whitespace surrounding a sentence. `undefined` means there is no sentence * boundary on that side (the document or content run starts/ends there); an * empty string marks a boundary whose separator has zero width (e.g. between * two Japanese sentences). */ export type Affixes = { prefix?: string; suffix?: string; }; /** * Adjusts the affixes surrounding a sentence. * * Rules: * - The target does not use whitespace between sentences: * spacing separators and the literal   are removed. A separator that * becomes empty is kept as `''` — the zero-width boundary marker. * - The source does not use whitespace between sentences but the target * does: ideographic spaces (U+3000) become regular spaces, one for one, * and a `''` boundary marker materializes as a regular space. * * @param sourceLocale - Locale the sentence was translated from. * @param targetLocale - Locale the sentence was translated into. * @param affixes - The affixes captured around the source sentence. * @returns The affixes adapted to the target language. * @throws Error when either locale is not supported. */ export declare const adjustSentenceAffixes: (sourceLocale: Locale, targetLocale: Locale, affixes: Affixes) => Affixes;