import { SvelteComponentTyped } from "svelte"; import type { SvelteHTMLElements } from "svelte/elements"; export type CarbonLayoutDirectionContext = import("svelte/store").Readable<"ltr" | "rtl">; type $RestProps = SvelteHTMLElements["div"]; type $Props = { /** * Specify the layout direction of the content. */ dir: "ltr" | "rtl"; /** * Specify the tag name. * @default "div" */ tag?: Tag; /** * Obtain a reference to the HTML element. * @default null */ ref?: null | HTMLElementTagNameMap[Tag]; children?: (this: void) => void; [key: `data-${string}`]: unknown; }; export type LayoutDirectionProps = Omit<$RestProps, keyof $Props> & $Props; export default class LayoutDirection extends SvelteComponentTyped< LayoutDirectionProps, Record, { default: Record } > {}