import { ComputedRef } from 'vue'; interface UseLayer { /** * The z-index of the layer. */ layerIndex: ComputedRef; /** * The number of the layer in the global stack. Bottom layer is 0, additional layers increment upward */ layerPostition: ComputedRef; /** * Opens the layer, claiming a z-index from the global stack. */ openLayer: () => void; /** * Closes the layer, releasing its z-index back to the global stack. */ closeLayer: () => void; } export declare function isTopLayer(z: number): boolean; /** * Provides a reactive z-index that participates in the global layer stack. * Each floating element (Modal, Sheet, Popout, Tooltip, …) should call this * composable and invoke `open()` when it becomes visible and `close()` when * it hides. The layer is automatically released when the component unmounts. */ export declare function useLayer(): UseLayer; export {};