"use client"; import React from "react"; const ElementSlotDepthContext = React.createContext(0); interface ElementSlotDepthProviderProps { depth: number; children: React.ReactNode; } export const ElementSlotDepthProvider = ({ children, depth }: ElementSlotDepthProviderProps) => { return ( {children} ); }; export const useElementSlotDepth = () => { const context = React.useContext(ElementSlotDepthContext); return context ?? 0; };