/** * Get writing direction for a locale. * * Uses `Intl.Locale` text info when available and falls back to a * language-based RTL check for runtimes without `getTextInfo()`. * * @example * getTextDirection(); // "ltr" or "rtl" for current locale * getTextDirection("ar"); // "rtl" * getTextDirection("en"); // "ltr" * * @param {string} [locale] - Target locale. If not provided, uses `getLocale()` * @returns {"ltr" | "rtl"} */ export function getTextDirection(locale?: string): "ltr" | "rtl"; //# sourceMappingURL=get-text-direction.d.ts.map