interface RenderTrackingContextValue { /** Whether the tracked sibling element is currently rendered. */ isRendered: boolean; /** Ref callback the tracked element composes onto its node to register that it is rendered. */ trackRef: (node: HTMLElement | null) => void; } /** * Tracks whether an optional sub-component is rendered, so a sibling slot can emit a * styling-only data-attribute (e.g. `data-show-close-button`, `data-has-overlay`). * * This lives in the styled `@seed-design/react` layer on purpose: the attribute exists * solely to drive a `@seed-design/css` selector, so the styled layer — which already holds * the version contract with css — owns it, rather than leaking a css↔headless contract. * * Unrelated to `@seed-design/react-presence`: that handles enter/exit animation, whereas * this only records whether a sibling is in the tree. */ export declare function createRenderTrackingContext(name: string): { Provider: { ({ children }: { children: React.ReactNode; }): import("react/jsx-runtime").JSX.Element; displayName: string; }; useRenderTracking: () => RenderTrackingContextValue; }; export {}; //# sourceMappingURL=createRenderTrackingContext.d.ts.map