/** * Copyright IBM Corp. 2016, 2026 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import { type RefObject } from 'react'; export type TextDir = 'ltr' | 'rtl' | 'auto' | string; export type GetTextDirection = (text: string | string[] | undefined) => TextDir; export interface TextDirectionContextType { direction: TextDir; getTextDirection: RefObject; } export declare const TextDirectionContext: import("react").Context;