/** * Locale Switcher Control * * Joins the switcher to the editor: the site's markets and the open page's * versions come from the localization queries, and choosing a market either * opens the version it holds or starts one where it holds none. Both of those * belong to the editor, so the control asks for them rather than doing them. * * A translation also carries its drift from the source: the switcher states it, * and the drawer behind it lists the changes. */ import React from 'react'; export interface LocaleSwitcherControlProps { openDocument: (path: string) => void; openCreatePage: (params?: { locale?: string; sourceDocumentId?: string; }) => void; } export declare function LocaleSwitcherControl({ openDocument, openCreatePage, }: LocaleSwitcherControlProps): React.ReactElement | null;