import type { ComputedRef, InjectionKey, Ref } from "vue"; import type { XySplitterLayout, XySplitterSize } from "./types"; export interface XySplitterPanelRegistration { defaultSize: ComputedRef; element: Ref; id: symbol; max: ComputedRef; min: ComputedRef; resizable: ComputedRef; } export interface XySplitterContext { getPanelSize: (id: symbol) => number | undefined; layout: ComputedRef; registerPanel: (panel: XySplitterPanelRegistration) => () => void; } export declare const xySplitterContextKey: InjectionKey;