import type { ViewRef } from '../../helpers/internal/types/index.js'; import { useSurface } from './surface.context.js'; import type { SurfaceRootProps } from './surface.types.js'; /** * Surface component * * @component Surface - Container component that provides elevation and background styling. * Used as a base for other components like Card. Supports different visual variants * for various elevation levels and styling needs. * - Polymorphic via `asChild` prop (Slot.View merges surface styling onto the child) * * @component Surface.Background - Absolute-fill background container behind the * surface content. With no children, the active library theme decides the content * (glass theme renders a blur layer whose Android / web fallback matches the * surface variant). Accepts children to host custom content such as gradients * with the container's positioning and clipping applied. Replaceable via the * `background` prop on Surface. * * @see Full documentation: https://heroui.com/docs/native/components/surface */ declare const Surface: import("react").ForwardRefExoticComponent> & { /** @optional Theme-aware background container behind the surface content */ Background: import("react").ForwardRefExoticComponent>; }; export default Surface; export { useSurface }; //# sourceMappingURL=surface.d.ts.map