import type { UnpublishTranslation } from './unpublishChildPages.js'; export interface TranslationLocaleGroup { /** The locale tag, or '' for translations without one. */ key: string; label: string; pages: UnpublishTranslation[]; } /** * The translations offered, one group per exact locale tag, and those still ticked. A child page's * translations are offered only while the child pages go down too. */ export declare function translationGroups(translations: UnpublishTranslation[], withChildren: boolean, untickedLocales: ReadonlySet): { groups: TranslationLocaleGroup[]; ticked: UnpublishTranslation[]; }; /** The translations given, one group per exact locale tag, in the order first seen. */ export declare function groupByLocale(translations: UnpublishTranslation[]): TranslationLocaleGroup[]; export declare function createUnpublishModalTitle(route: string, childCount: number, translationCount: number): string;