import * as React$1 from "react"; //#region src/libs/get-component-ref.d.ts /** * Read the ref off a React element without tripping the React 18 vs 19 deprecation * warning. React 18 attaches `ref` to `element.props.ref`; React 19 moved it to * `element.ref`. Both versions flag the wrong-side access via an `isReactWarning` * marker on the descriptor getter — we probe both descriptors and read whichever * side does NOT warn. Shared between `slot/slot.tsx` and `presence/presence.libs.tsx`. * * https://github.com/facebook/react/blob/main/packages/react/src/ReactElement.js */ declare function getComponentRef(element: React$1.ReactElement): React$1.Ref | undefined; //#endregion export { getComponentRef };