import { PanelsState } from '../types/panels-state.js'; import { Panels, PanelSizesWithUnit, PanelChildren } from '../types/shared-panel-types.js'; /** * Get a sorted list of all the registered child panels. */ export declare function getSortedPanelChildren(panels: Panels): PanelChildren; /** Search for the panel with given name in a panels array. */ export declare function getPanelByName(panels: PanelChildren, name: string): (import("../types/shared-panel-types.js").Panel & { name: string; }) | undefined; /** * Get the index of a named panel in the array of sorted panels. * @param sortedPanels - Array of panels sorted by order. * @returns Panel index or -1. */ export declare function getPanelIndex(panelName: string, sortedPanels: PanelChildren): number; /** * Get the index of the next panel. * @param sortedPanels - Array of panels sorted by order. * @returns Panel index or -1. */ export declare function getNextPanelIndex(sortedPanels: PanelChildren, currentIndex: number, options?: { direction?: 1 | -1; loop?: boolean; skipNonResizable?: boolean; }): number; export declare function getRemovedPanels(prevPanels: PanelChildren, state: PanelsState): string[]; export declare function getAddedPanels(panelKeys: string[], sizes: PanelSizesWithUnit, name: string): string[];