export type { SplitterOrientation } from './createSplitter.svelte'; /** * SvSplitter - two resizable panes with a draggable separator (WAI-ARIA * `separator`), pointer drag + keyboard resize. Parity: Smart `smart-splitter`. * Controlled via `fraction` (0..1 of the first pane) + `onChange`; the two panes * are the `start` and `end` snippets. * * Behavior (clamp, keyboard, ARIA, RTL) lives in the headless `createSplitter` * core; this component owns only the container measurement for pointer drags. */ import type { Snippet } from 'svelte'; import { type EditorDir } from './editor-contract'; import { type SplitterOrientation } from './createSplitter.svelte'; type Props = { /** Size of the first pane as a fraction of the container (0..1). */ fraction?: number; onChange?: (fraction: number) => void; /** 'horizontal' = left/right panes (default); 'vertical' = top/bottom. */ orientation?: SplitterOrientation; min?: number; max?: number; /** Keyboard resize step as a fraction (default 0.02 = 2%). */ step?: number; disabled?: boolean; dir?: EditorDir; ariaLabel?: string; start?: Snippet; end?: Snippet; }; declare const SvSplitter: import("svelte").Component; type SvSplitter = ReturnType; export default SvSplitter;