import { type Accessor } from "solid-js"; export type TextDirection = "ltr" | "rtl"; /** * Context carrying the current text direction as an `Accessor`. Provided via * Solid 2's context-as-provider pattern: * ` direction}>`. * * @internal */ export declare const DirectionContext: import("solid-js").Context>; /** * Read the current text direction. Returns an `Accessor` so * consumers stay reactive; call it (e.g. `useDirection()()`) to get the * current value. Defaults to `"ltr"` when no provider is mounted. */ export declare function useDirection(): Accessor; //# sourceMappingURL=direction-provider-context.d.ts.map