/** * Resolve the effective writing direction for the viewer. * * Explicit `ltr`/`rtl` always wins. `auto` (or `undefined`) walks up * from the container looking for a `dir` attribute and, failing that, * reads the computed direction of the host document's root element. */ export declare function resolveDirection(explicit: "ltr" | "rtl" | "auto" | undefined, container: HTMLElement): "ltr" | "rtl";