/** * Right-to-left support. `isRTL` is resolved once in `Chat` (from `forceRTL`, falling back to * whether `locale` is a right-to-left language) and exposed via `useIsRTL()`. Components mirror * their own layout with it - there is no global `I18nManager.forceRTL` call here, since that is * an app-wide, native-reload-requiring switch that would be wrong to flip from a single `Chat` * instance. */ /** Whether a BCP-47 tag (e.g. "ar-EG", "he") names a right-to-left language. */ export declare function isRTLLocale(locale: string | undefined): boolean; /** * Flip a semantic `'left' | 'right'` position to the side it should actually render on. Only * ever apply this to *physical* layout (alignment, margins, corner radii) - never to a * `LeftRightStyle` override keyed by message ownership (own vs. other message), which stays * keyed by the original, unmirrored position so a consumer's "my messages are blue" style * keeps meaning "my messages" regardless of which side they render on. */ export declare function mirrorPosition(position: T, isRTL: boolean): T; //# sourceMappingURL=rtl.d.ts.map