import { ComponentPropsWithoutRef, ElementType, ReactNode, Ref } from 'react'; interface SurfaceContentOwnProps { /** Content rendered inside the surface's content layer (above tint/outline, below focus ring). */ children?: ReactNode; /** Extra classes for the content wrapper. */ className?: string; /** * Polymorphic root element. Defaults to `'div'`. * * `Surface` passes `'span'` automatically when the surface renders as phrasing content (e.g. `as="kbd"`), so the wrapper stays valid inside `

`, `