import { ReadonlySignal } from '@preact/signals-core'; import { ThemeLocaleState } from './theme-state'; export interface TranslationService { readonly locale: ReadonlySignal; resolve(blockType: string | null, blockId: string | null, key: string): string; } export type TranslationServiceOptions = { loadDefaultTranslations?: (locale: string) => Promise>; }; export declare const TranslationContext: { __context__: TranslationService; }; export declare function createTranslationService(locales: ThemeLocaleState, options?: TranslationServiceOptions): TranslationService;