import { NormalizedPanelData } from '../splitter.types.mjs';
import '@zag-js/core';
import '@zag-js/types';
import './registry.mjs';

/**
 * This code was modified from react-resizable-panels by Brian Vaughn
 * @see https://github.com/bvaughn/react-resizable-panels
 */

interface Layout {
    delta: number;
    initialSize: number[];
    panels: NormalizedPanelData[];
    pivotIndices: number[];
    prevSize: number[];
    trigger: "imperative-api" | "keyboard" | "mouse-or-touch";
}
declare function resizeByDelta(props: Layout): number[];

export { resizeByDelta };
