import type { EdgelessElement } from '../../_common/types.js';
import type { FrameBlockModel } from '../../models.js';
import type { CanvasElement } from '../index.js';
import type { Indexable, IndexableBlock, Layer } from './layer-manager.js';
export declare function getLayerZIndex(layers: Layer[], layerIndex: number): number;
export declare function updateLayersIndex(layers: Layer[], startIdx: number): void;
export declare function getElementIndex(indexable: Indexable | FrameBlockModel): string;
export declare function ungroupIndex(index: string): string;
export declare function insertToOrderedArray(array: EdgelessElement[], element: EdgelessElement): void;
export declare function removeFromOrderedArray(array: EdgelessElement[], element: EdgelessElement): void;
export declare function isInRange(edges: [IndexableBlock | CanvasElement, IndexableBlock | CanvasElement], target: IndexableBlock | CanvasElement): boolean;
//# sourceMappingURL=layer-utils.d.ts.map