import type { ConfigurableDocument } from "../_configurable"; export declare type TextDirectionValue = "ltr" | "rtl" | "auto"; export interface TextDirectionOptions extends ConfigurableDocument { /** * CSS Selector for the target element applying to * * @default 'html' */ selector?: string; /** * Observe `document.querySelector(selector)` changes using MutationObserve * * @default false */ observe?: boolean; /** * Initial value * * @default 'ltr' */ initial_value?: TextDirectionValue; } /** * Reactive dir of the element's text. * */ export declare function text_direction(options?: TextDirectionOptions): { subscribe: (this: void, run: import("svelte/store").Subscriber, invalidate?: ((value?: TextDirectionValue | undefined) => void) | undefined) => import("svelte/store").Unsubscriber; set: (this: void, value: TextDirectionValue) => void; };