import { ReactNode } from 'react'; import { Strings } from './en'; export type { Strings }; /** Languages the builder ships with. */ export type Lang = 'en' | 'he'; export declare function isRtl(lang: Lang): boolean; export declare function LangProvider({ lang, children }: { lang?: Lang; children: ReactNode; }): import("react").JSX.Element; /** The active language's strings. */ export declare function useT(): Strings; /** The active language code. */ export declare function useLang(): Lang; /** * The builder's own text direction. Matches the `PopupDirection` values, so it * can seed a new popup's direction — a Hebrew editor defaults its popups to RTL. */ export declare function useDir(): 'ltr' | 'rtl';